Browse Source

Fix a PROBE_MANUALLY bug in ultralcd.cpp

Scott Lahteine 7 years ago
parent
commit
00d358d92d
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp View File

@@ -1425,10 +1425,6 @@ void kill_screen(const char* lcd_msg) {
1425 1425
 
1426 1426
     static uint8_t manual_probe_index;
1427 1427
 
1428
-    #if ENABLED(PROBE_MANUALLY)
1429
-      extern bool g29_in_progress;
1430
-    #endif
1431
-
1432 1428
     // LCD probed points are from defaults
1433 1429
     constexpr uint8_t total_probe_points = (
1434 1430
       #if ENABLED(AUTO_BED_LEVELING_3POINT)
@@ -1645,6 +1641,10 @@ void kill_screen(const char* lcd_msg) {
1645 1641
 
1646 1642
   #if ENABLED(LCD_BED_LEVELING) || HAS_ABL
1647 1643
 
1644
+    #if ENABLED(PROBE_MANUALLY)
1645
+      extern bool g29_in_progress;
1646
+    #endif
1647
+
1648 1648
     /**
1649 1649
      * Step 2: Continue Bed Leveling...
1650 1650
      */

Loading…
Cancel
Save