Browse Source

MESH_BED_LEVELING before PROBE_MANUALLY

Scott Lahteine 7 years ago
parent
commit
0535ebc4d2
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/lcd/ultralcd.cpp

+ 6
- 6
Marlin/src/lcd/ultralcd.cpp View File

@@ -1861,10 +1861,10 @@ void kill_screen(const char* lcd_msg) {
1861 1861
           //
1862 1862
           lcd_wait_for_move = true;
1863 1863
           lcd_goto_screen(_lcd_level_bed_done);
1864
-          #if ENABLED(PROBE_MANUALLY)
1865
-            enqueue_and_echo_commands_P(PSTR("G29 V1"));
1866
-          #elif ENABLED(MESH_BED_LEVELING)
1864
+          #if ENABLED(MESH_BED_LEVELING)
1867 1865
             enqueue_and_echo_commands_P(PSTR("G29 S2"));
1866
+          #elif ENABLED(PROBE_MANUALLY)
1867
+            enqueue_and_echo_commands_P(PSTR("G29 V1"));
1868 1868
           #endif
1869 1869
         }
1870 1870
         else
@@ -1913,10 +1913,10 @@ void kill_screen(const char* lcd_msg) {
1913 1913
 
1914 1914
       // G29 Records Z, moves, and signals when it pauses
1915 1915
       lcd_wait_for_move = true;
1916
-      #if ENABLED(PROBE_MANUALLY)
1917
-        enqueue_and_echo_commands_P(PSTR("G29 V1"));
1918
-      #elif ENABLED(MESH_BED_LEVELING)
1916
+      #if ENABLED(MESH_BED_LEVELING)
1919 1917
         enqueue_and_echo_commands_P(manual_probe_index ? PSTR("G29 S2") : PSTR("G29 S1"));
1918
+      #elif ENABLED(PROBE_MANUALLY)
1919
+        enqueue_and_echo_commands_P(PSTR("G29 V1"));
1920 1920
       #endif
1921 1921
     }
1922 1922
 

Loading…
Cancel
Save