We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44357d commit 0d3f79eCopy full SHA for 0d3f79e
Marlin/src/lcd/e3v2/proui/endstop_diag.cpp
@@ -21,15 +21,19 @@
21
*/
22
23
/**
24
- * DWIN End Stops diagnostic page for PRO UI
+ * DWIN Endstops diagnostic page for PRO UI
25
* Author: Miguel A. Risco-Castillo (MRISCOC)
26
* Version: 1.2.2
27
* Date: 2022/02/24
28
29
30
+#include "../../../inc/MarlinConfigPre.h"
31
+
32
+#if ENABLED(DWIN_LCD_PROUI)
33
34
#include "dwin_defines.h"
35
-#if BOTH(DWIN_LCD_PROUI, HAS_ESDIAG)
36
+#if HAS_ESDIAG
37
38
#include "endstop_diag.h"
39
@@ -105,4 +109,5 @@ void ESDiagClass::Update() {
105
109
DWIN_UpdateLCD();
106
110
}
107
111
108
-#endif // DWIN_LCD_PROUI && HAS_ESDIAG
112
+#endif // HAS_ESDIAG
113
+#endif // DWIN_LCD_PROUI
0 commit comments