merge followup

This commit is contained in:
Scott Lahteine 2024-10-11 15:57:50 -05:00
parent 68002a63eb
commit 61c09dd75a

View File

@ -430,33 +430,6 @@ void menu_advanced_settings();
#endif // EDITABLE_HOMING_FEEDRATE
#if ENABLED(EDITABLE_HOMING_FEEDRATE)
#include "../../module/motion.h"
#include "../../module/planner.h"
#include "../../gcode/parser.h"
// Edit homing feedrates in inches- or degrees- or mm-per-minute
void menu_homing_feedrate() {
START_MENU();
BACK_ITEM(MSG_HOMING_FEEDRATE);
#define _EDIT_HOMING_FR(A) do{ \
const float maxfr = MMS_TO_MMM(planner.settings.max_feedrate_mm_s[_AXIS(A)]); \
editable.decimal = A##_AXIS_UNIT(homing_feedrate_mm_m.A); \
EDIT_ITEM(float61, MSG_HOMING_FEEDRATE_N, &editable.decimal, \
A##_AXIS_UNIT(10), A##_AXIS_UNIT(maxfr), []{ \
homing_feedrate_mm_m.A = parser.axis_value_to_mm(_AXIS(A), editable.decimal); \
}); \
}while(0);
MAIN_AXIS_MAP(_EDIT_HOMING_FR);
END_MENU();
}
#endif
#if HAS_PREHEAT && DISABLED(SLIM_LCD_MENUS)
void _menu_configuration_preheat_settings() {