Browse Source

🚸 Limit LCD delta endstop adjustment like M666

In reference to #22325
vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
c746b1a2ae
  1. 2
      Marlin/src/lcd/menu/menu_delta_calibrate.cpp

2
Marlin/src/lcd/menu/menu_delta_calibrate.cpp

@ -105,7 +105,7 @@ void lcd_delta_settings() {
START_MENU(); START_MENU();
BACK_ITEM(MSG_DELTA_CALIBRATE); BACK_ITEM(MSG_DELTA_CALIBRATE);
EDIT_ITEM(float52sign, MSG_DELTA_HEIGHT, &delta_height, delta_height - 10, delta_height + 10, _recalc_delta_settings); EDIT_ITEM(float52sign, MSG_DELTA_HEIGHT, &delta_height, delta_height - 10, delta_height + 10, _recalc_delta_settings);
#define EDIT_ENDSTOP_ADJ(LABEL,N) EDIT_ITEM_P(float43, PSTR(LABEL), &delta_endstop_adj.N, -5, 5, _recalc_delta_settings) #define EDIT_ENDSTOP_ADJ(LABEL,N) EDIT_ITEM_P(float43, PSTR(LABEL), &delta_endstop_adj.N, -5, 0, _recalc_delta_settings)
EDIT_ENDSTOP_ADJ("Ex", a); EDIT_ENDSTOP_ADJ("Ex", a);
EDIT_ENDSTOP_ADJ("Ey", b); EDIT_ENDSTOP_ADJ("Ey", b);
EDIT_ENDSTOP_ADJ("Ez", c); EDIT_ENDSTOP_ADJ("Ez", c);

Loading…
Cancel
Save