fix LEDs not going to full bright during editing

This commit is contained in:
true 2024-08-01 04:46:00 -07:00
parent 5d1cc3f518
commit 48bf4a29d4
1 changed files with 7 additions and 1 deletions

View File

@ -291,7 +291,7 @@ void ui_btn_release_cb(uint8_t idx)
}
}
void ui_cursor_flash()
static void ui_cursor_flash()
{
uint8_t color, flash;
uint8_t level = 0;
@ -479,6 +479,9 @@ void ui_render()
// always postpone config saving
config_save_timer = UI_CONF_SAVE_TIMEOUT;
// always increase brightness of LEDs while editing
is31fl3729_set_global_current(FL3729_ADDR, FL3729_GCC_MAX);
// always force rendering
led_is_updated();
@ -510,6 +513,9 @@ void ui_render()
// always postpone config saving
config_save_timer = UI_CONF_SAVE_TIMEOUT;
// always increase brightness of LEDs while editing
is31fl3729_set_global_current(FL3729_ADDR, FL3729_GCC_MAX);
// always force rendering
led_is_updated();