Move axis_homed, axis_known_position to motion.*

This commit is contained in:
Scott Lahteine
2018-10-31 17:07:52 -05:00
parent 946cf8b453
commit 44f2a82a56
9 changed files with 31 additions and 31 deletions

View File

@ -188,7 +188,7 @@
//
void _lcd_level_bed_continue() {
defer_return_to_status = true;
axis_homed = 0;
set_all_unhomed();
lcd_goto_screen(_lcd_level_bed_homing);
enqueue_and_echo_commands_P(PSTR("G28"));
}

View File

@ -502,7 +502,7 @@ void _lcd_ubl_output_map_lcd() {
*/
void _lcd_ubl_output_map_lcd_cmd() {
if (!all_axes_known()) {
axis_homed = 0;
set_all_unhomed();
enqueue_and_echo_commands_P(PSTR("G28"));
}
lcd_goto_screen(_lcd_ubl_map_homing);