Skip to content

Commit 6aca903

Browse files
committed
and others
1 parent f560f6c commit 6aca903

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

Marlin/src/lcd/dwin/proui/endstop_diag.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
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

Marlin/src/lcd/dwin/proui/gcode_preview.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
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

Marlin/src/lcd/dwin/proui/plot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
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"

0 commit comments

Comments
 (0)