|
|
|
@ -324,8 +324,7 @@ void led_matrix_task(void) {
|
|
|
|
|
|
|
|
|
|
|
|
// Ideally we would also stop sending zeros to the LED driver PWM buffers
|
|
|
|
// Ideally we would also stop sending zeros to the LED driver PWM buffers
|
|
|
|
// while suspended and just do a software shutdown. This is a cheap hack for now.
|
|
|
|
// while suspended and just do a software shutdown. This is a cheap hack for now.
|
|
|
|
bool suspend_backlight =
|
|
|
|
bool suspend_backlight = suspend_state ||
|
|
|
|
suspend_state ||
|
|
|
|
|
|
|
|
#if LED_DISABLE_TIMEOUT > 0
|
|
|
|
#if LED_DISABLE_TIMEOUT > 0
|
|
|
|
(led_anykey_timer > (uint32_t)LED_DISABLE_TIMEOUT) ||
|
|
|
|
(led_anykey_timer > (uint32_t)LED_DISABLE_TIMEOUT) ||
|
|
|
|
#endif // LED_DISABLE_TIMEOUT > 0
|
|
|
|
#endif // LED_DISABLE_TIMEOUT > 0
|
|
|
|
|