Apply NO_WORKSPACE_OFFSETS to lcd menu

This commit is contained in:
Scott Lahteine 2017-03-06 02:20:31 -06:00
parent 7e3aab889d
commit 3830778852

View File

@ -763,6 +763,7 @@ void kill_screen(const char* lcd_msg) {
* *
*/ */
#if DISABLED(NO_WORKSPACE_OFFSETS)
/** /**
* Set the home offset based on the current_position * Set the home offset based on the current_position
*/ */
@ -771,6 +772,7 @@ void kill_screen(const char* lcd_msg) {
enqueue_and_echo_commands_P(PSTR("M428")); enqueue_and_echo_commands_P(PSTR("M428"));
lcd_return_to_status(); lcd_return_to_status();
} }
#endif
#if ENABLED(BABYSTEPPING) #if ENABLED(BABYSTEPPING)
@ -1427,11 +1429,13 @@ KeepDrawing:
MENU_ITEM(submenu, MSG_LEVEL_BED, lcd_level_bed); MENU_ITEM(submenu, MSG_LEVEL_BED, lcd_level_bed);
#endif #endif
#if DISABLED(NO_WORKSPACE_OFFSETS)
// //
// Set Home Offsets // Set Home Offsets
// //
MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets); MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets);
//MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0")); //MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0"));
#endif
// //
// Disable Steppers // Disable Steppers