|
@@ -763,14 +763,16 @@ void kill_screen(const char* lcd_msg) {
|
763
|
763
|
*
|
764
|
764
|
*/
|
765
|
765
|
|
766
|
|
- /**
|
767
|
|
- * Set the home offset based on the current_position
|
768
|
|
- */
|
769
|
|
- void lcd_set_home_offsets() {
|
770
|
|
- // M428 Command
|
771
|
|
- enqueue_and_echo_commands_P(PSTR("M428"));
|
772
|
|
- lcd_return_to_status();
|
773
|
|
- }
|
|
766
|
+ #if DISABLED(NO_WORKSPACE_OFFSETS)
|
|
767
|
+ /**
|
|
768
|
+ * Set the home offset based on the current_position
|
|
769
|
+ */
|
|
770
|
+ void lcd_set_home_offsets() {
|
|
771
|
+ // M428 Command
|
|
772
|
+ enqueue_and_echo_commands_P(PSTR("M428"));
|
|
773
|
+ lcd_return_to_status();
|
|
774
|
+ }
|
|
775
|
+ #endif
|
774
|
776
|
|
775
|
777
|
#if ENABLED(BABYSTEPPING)
|
776
|
778
|
|
|
@@ -1427,11 +1429,13 @@ KeepDrawing:
|
1427
|
1429
|
MENU_ITEM(submenu, MSG_LEVEL_BED, lcd_level_bed);
|
1428
|
1430
|
#endif
|
1429
|
1431
|
|
1430
|
|
- //
|
1431
|
|
- // Set Home Offsets
|
1432
|
|
- //
|
1433
|
|
- MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets);
|
1434
|
|
- //MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0"));
|
|
1432
|
+ #if DISABLED(NO_WORKSPACE_OFFSETS)
|
|
1433
|
+ //
|
|
1434
|
+ // Set Home Offsets
|
|
1435
|
+ //
|
|
1436
|
+ MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets);
|
|
1437
|
+ //MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0"));
|
|
1438
|
+ #endif
|
1435
|
1439
|
|
1436
|
1440
|
//
|
1437
|
1441
|
// Disable Steppers
|