fix LEDs not going to full bright during editing
This commit is contained in:
parent
5d1cc3f518
commit
48bf4a29d4
|
@ -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 color, flash;
|
||||||
uint8_t level = 0;
|
uint8_t level = 0;
|
||||||
|
@ -479,6 +479,9 @@ void ui_render()
|
||||||
// always postpone config saving
|
// always postpone config saving
|
||||||
config_save_timer = UI_CONF_SAVE_TIMEOUT;
|
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
|
// always force rendering
|
||||||
led_is_updated();
|
led_is_updated();
|
||||||
|
|
||||||
|
@ -510,6 +513,9 @@ void ui_render()
|
||||||
// always postpone config saving
|
// always postpone config saving
|
||||||
config_save_timer = UI_CONF_SAVE_TIMEOUT;
|
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
|
// always force rendering
|
||||||
led_is_updated();
|
led_is_updated();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue