File tree Expand file tree Collapse file tree
Marlin/src/lcd/dwin/proui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030
3131#include " ../../../inc/MarlinConfigPre.h"
3232
33- #if ALL(DWIN_LCD_PROUI, HAS_ESDIAG)
33+ #if ENABLED(DWIN_LCD_PROUI)
34+
35+ #include " dwin.h"
36+
37+ #if HAS_ESDIAG
3438
3539#include " endstop_diag.h"
3640#include " ../../marlinui.h"
@@ -85,4 +89,5 @@ void ESDiag::update() {
8589 dwinUpdateLCD ();
8690}
8791
88- #endif // DWIN_LCD_PROUI && HAS_ESDIAG
92+ #endif // HAS_ESDIAG
93+ #endif // DWIN_LCD_PROUI
Original file line number Diff line number Diff line change 2929
3030#include " ../../../inc/MarlinConfigPre.h"
3131
32- #if ALL(DWIN_LCD_PROUI, HAS_GCODE_PREVIEW)
32+ #if ENABLED(DWIN_LCD_PROUI)
33+
34+ #include " dwin.h"
35+
36+ #if HAS_GCODE_PREVIEW
3337
3438#include " gcode_preview.h"
3539
@@ -222,4 +226,5 @@ void Preview::show() {
222226 dwinIconShow (xpos, ypos, 0x00 );
223227}
224228
225- #endif // DWIN_LCD_PROUI && HAS_GCODE_PREVIEW
229+ #endif // HAS_GCODE_PREVIEW
230+ #endif // DWIN_LCD_PROUI
Original file line number Diff line number Diff line change 3333
3434#include " dwin.h"
3535
36- #if ENABLED( PROUI_TUNING_GRAPH)
36+ #if PROUI_TUNING_GRAPH
3737
3838#include " ../../marlinui.h"
3939#include " plot.h"
You can’t perform that action at this time.
0 commit comments