MESH_BED_LEVELING before PROBE_MANUALLY

This commit is contained in:
Scott Lahteine 2018-04-12 22:26:44 -05:00
parent 59d9886473
commit 5274ab0ad5

View File

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