Fix "back" items in some sub-menus
This commit is contained in:
@ -62,7 +62,7 @@ void menu_backlash();
|
||||
void menu_dac() {
|
||||
dac_driver_getValues();
|
||||
START_MENU();
|
||||
MENU_BACK(MSG_CONTROL);
|
||||
MENU_BACK(MSG_ADVANCED_SETTINGS);
|
||||
#define EDIT_DAC_PERCENT(N) MENU_ITEM_EDIT_CALLBACK(uint8, MSG_##N " " MSG_DAC_PERCENT, &driverPercent[_AXIS(N)], 0, 100, dac_driver_commit)
|
||||
EDIT_DAC_PERCENT(X);
|
||||
EDIT_DAC_PERCENT(Y);
|
||||
@ -80,7 +80,7 @@ void menu_backlash();
|
||||
|
||||
void menu_pwm() {
|
||||
START_MENU();
|
||||
MENU_BACK(MSG_CONTROL);
|
||||
MENU_BACK(MSG_ADVANCED_SETTINGS);
|
||||
#define EDIT_CURRENT_PWM(LABEL,I) MENU_ITEM_EDIT_CALLBACK(long5, LABEL, &stepper.motor_current_setting[I], 100, 2000, stepper.refresh_motor_power)
|
||||
#if PIN_EXISTS(MOTOR_CURRENT_PWM_XY)
|
||||
EDIT_CURRENT_PWM(MSG_X MSG_Y, 0);
|
||||
|
Reference in New Issue
Block a user