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

Loading…
Cancel
Save