|
|
|
@ -480,8 +480,22 @@ void menu_cancelobject();
|
|
|
|
|
END_MENU();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// M92 Steps-per-mm
|
|
|
|
|
void menu_advanced_steps_per_mm() {
|
|
|
|
|
// M851 - Z Probe Offsets
|
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
|
void menu_probe_offsets() {
|
|
|
|
|
START_MENU();
|
|
|
|
|
BACK_ITEM(MSG_ADVANCED_SETTINGS);
|
|
|
|
|
EDIT_ITEM(float51sign, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
|
|
|
|
|
EDIT_ITEM(float51sign, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
|
|
|
|
|
EDIT_ITEM(LCD_Z_OFFSET_TYPE, MSG_ZPROBE_ZOFFSET, &probe_offset.z, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
|
|
|
|
END_MENU();
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // !SLIM_LCD_MENUS
|
|
|
|
|
|
|
|
|
|
// M92 Steps-per-mm
|
|
|
|
|
void menu_advanced_steps_per_mm() {
|
|
|
|
|
START_MENU();
|
|
|
|
|
BACK_ITEM(MSG_ADVANCED_SETTINGS);
|
|
|
|
|
|
|
|
|
@ -499,21 +513,7 @@ void menu_cancelobject();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
END_MENU();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// M851 - Z Probe Offsets
|
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
|
void menu_probe_offsets() {
|
|
|
|
|
START_MENU();
|
|
|
|
|
BACK_ITEM(MSG_ADVANCED_SETTINGS);
|
|
|
|
|
EDIT_ITEM(float51sign, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
|
|
|
|
|
EDIT_ITEM(float51sign, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
|
|
|
|
|
EDIT_ITEM(LCD_Z_OFFSET_TYPE, MSG_ZPROBE_ZOFFSET, &probe_offset.z, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
|
|
|
|
END_MENU();
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // !SLIM_LCD_MENUS
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void menu_advanced_settings() {
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR) && FILAMENT_RUNOUT_DISTANCE_MM
|
|
|
|
@ -540,17 +540,17 @@ void menu_advanced_settings() {
|
|
|
|
|
// M205 - Max Jerk
|
|
|
|
|
SUBMENU(MSG_JERK, menu_advanced_jerk);
|
|
|
|
|
|
|
|
|
|
if (!printer_busy()) {
|
|
|
|
|
// M92 - Steps Per mm
|
|
|
|
|
SUBMENU(MSG_STEPS_PER_MM, menu_advanced_steps_per_mm);
|
|
|
|
|
|
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
|
// M851 - Z Probe Offsets
|
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
|
if (!printer_busy())
|
|
|
|
|
SUBMENU(MSG_ZPROBE_OFFSETS, menu_probe_offsets);
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
#endif // !SLIM_LCD_MENUS
|
|
|
|
|
|
|
|
|
|
// M92 - Steps Per mm
|
|
|
|
|
if (!printer_busy())
|
|
|
|
|
SUBMENU(MSG_STEPS_PER_MM, menu_advanced_steps_per_mm);
|
|
|
|
|
|
|
|
|
|
#if ENABLED(BACKLASH_GCODE)
|
|
|
|
|
SUBMENU(MSG_BACKLASH, menu_backlash);
|
|
|
|
|
#endif
|
|
|
|
|