Browse Source

🐛 Fix UI include

Followup to ~2
Scott Lahteine 3 years ago
parent
commit
f516c9e552
1 changed files with 4 additions and 7 deletions
  1. 4
    7
      Marlin/src/gcode/bedlevel/abl/G29.cpp

+ 4
- 7
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

@@ -36,10 +36,6 @@
36 36
 #include "../../../module/probe.h"
37 37
 #include "../../queue.h"
38 38
 
39
-#if HAS_STATUS_MESSAGE
40
-  #include "../../../lcd/marlinui.h"
41
-#endif
42
-
43 39
 #if ENABLED(AUTO_BED_LEVELING_LINEAR)
44 40
   #include "../../../libs/least_squares_fit.h"
45 41
 #endif
@@ -48,9 +44,7 @@
48 44
   #include "../../../libs/vector_3.h"
49 45
 #endif
50 46
 
51
-#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
52
-#include "../../../core/debug_out.h"
53
-
47
+#include "../../../lcd/marlinui.h"
54 48
 #if ENABLED(EXTENSIBLE_UI)
55 49
   #include "../../../lcd/extui/ui_api.h"
56 50
 #elif ENABLED(DWIN_CREALITY_LCD)
@@ -63,6 +57,9 @@
63 57
   #include "../../../module/tool_change.h"
64 58
 #endif
65 59
 
60
+#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
61
+#include "../../../core/debug_out.h"
62
+
66 63
 #if ABL_USES_GRID
67 64
   #if ENABLED(PROBE_Y_FIRST)
68 65
     #define PR_OUTER_VAR  abl.meshCount.x

Loading…
Cancel
Save