From 1aa02cff1077c827ef8a735f98a2409d306968ac Mon Sep 17 00:00:00 2001 From: Mau Abata <69772612+MauAbata@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:33:32 -0600 Subject: [PATCH] Increase limits in the Edging Settings Menu --- src/menus/edging_settings_menu.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/menus/edging_settings_menu.c b/src/menus/edging_settings_menu.c index d58df438..602b4a20 100644 --- a/src/menus/edging_settings_menu.c +++ b/src/menus/edging_settings_menu.c @@ -56,13 +56,14 @@ static const ui_input_byte_t MOTOR_START_SPEED_INPUT = { static const ui_input_numeric_t MOTOR_RAMP_TIME_INPUT = { UnsignedInputValues("Motor Ramp Time", &Config.motor_ramp_time_s, UNIT_SECONDS, on_config_save), - .max = 120, + .max = 255, .step = 5, .input.help = MOTOR_RAMP_TIME_S_HELP }; static const ui_input_numeric_t EDGE_DELAY_INPUT = { UnsignedInputValues("Edge Delay", &Config.edge_delay, UNIT_MILLISECONDS, on_config_save), + .max = 15000, .step = 100, .input.help = EDGE_DELAY_HELP }; @@ -71,7 +72,7 @@ static const ui_input_numeric_t MAX_ADDITIONAL_DELAY_INPUT = { UnsignedInputValues( "Max Additional Delay", &Config.max_additional_delay, UNIT_MILLISECONDS, on_config_save ), - .max = 6000, + .max = 30000, .step = 100, .input.help = MAX_ADDITIONAL_DELAY_HELP }; @@ -87,7 +88,7 @@ static const ui_input_numeric_t MINIMUM_ON_TIME_INPUT = { static const ui_input_numeric_t AROUSAL_LIMIT_INPUT = { UnsignedInputValues("Arousal Limit", &Config.sensitivity_threshold, "", on_config_save), - .max = 1023, + .max = 2048, .input.help = SENSITIVITY_THRESHOLD_HELP }; @@ -122,4 +123,4 @@ static void on_open(const ui_menu_t* m, UI_MENU_ARG_TYPE arg) { ui_menu_add_input(m, (ui_input_t*)&SENSOR_SENSITIVITY_INPUT); } -DYNAMIC_MENU(EDGING_SETTINGS_MENU, "Edging Settings", on_open); \ No newline at end of file +DYNAMIC_MENU(EDGING_SETTINGS_MENU, "Edging Settings", on_open);