🚚 Relocate and adjust DWIN E3V2 (#22471)
This commit is contained in:
parent
332dde935d
commit
9bb5b10c0c
23 changed files with 305 additions and 268 deletions
|
|
@ -75,8 +75,8 @@
|
|||
#endif
|
||||
|
||||
#if ENABLED(DWIN_CREALITY_LCD)
|
||||
#include "lcd/dwin/e3v2/dwin.h"
|
||||
#include "lcd/dwin/e3v2/rotary_encoder.h"
|
||||
#include "lcd/e3v2/creality/dwin.h"
|
||||
#include "lcd/e3v2/creality/rotary_encoder.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
|
|
@ -1310,11 +1310,7 @@ void setup() {
|
|||
// (because EEPROM code calls the UI).
|
||||
|
||||
#if ENABLED(DWIN_CREALITY_LCD)
|
||||
delay(800); // Required delay (since boot?)
|
||||
SERIAL_ECHOPGM("\nDWIN handshake ");
|
||||
if (DWIN_Handshake()) SERIAL_ECHOLNPGM("ok."); else SERIAL_ECHOLNPGM("error.");
|
||||
DWIN_Frame_SetDir(1); // Orientation 90°
|
||||
DWIN_UpdateLCD(); // Show bootscreen (first image)
|
||||
SETUP_RUN(DWIN_Startup());
|
||||
#else
|
||||
SETUP_RUN(ui.init());
|
||||
#if BOTH(HAS_WIRED_LCD, SHOW_BOOTSCREEN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue