Browse Source

MESH_BED_LEVELING before PROBE_MANUALLY

pull/1/head
Scott Lahteine 7 years ago
parent
commit
0535ebc4d2
  1. 12
      Marlin/src/lcd/ultralcd.cpp

12
Marlin/src/lcd/ultralcd.cpp

@ -1861,10 +1861,10 @@ void kill_screen(const char* lcd_msg) {
//
lcd_wait_for_move = true;
lcd_goto_screen(_lcd_level_bed_done);
#if ENABLED(PROBE_MANUALLY)
enqueue_and_echo_commands_P(PSTR("G29 V1"));
#elif ENABLED(MESH_BED_LEVELING)
#if ENABLED(MESH_BED_LEVELING)
enqueue_and_echo_commands_P(PSTR("G29 S2"));
#elif ENABLED(PROBE_MANUALLY)
enqueue_and_echo_commands_P(PSTR("G29 V1"));
#endif
}
else
@ -1913,10 +1913,10 @@ void kill_screen(const char* lcd_msg) {
// G29 Records Z, moves, and signals when it pauses
lcd_wait_for_move = true;
#if ENABLED(PROBE_MANUALLY)
enqueue_and_echo_commands_P(PSTR("G29 V1"));
#elif ENABLED(MESH_BED_LEVELING)
#if ENABLED(MESH_BED_LEVELING)
enqueue_and_echo_commands_P(manual_probe_index ? PSTR("G29 S2") : PSTR("G29 S1"));
#elif ENABLED(PROBE_MANUALLY)
enqueue_and_echo_commands_P(PSTR("G29 V1"));
#endif
}

Loading…
Cancel
Save