Make Stay_On actually keep the screen on.

pull/8/head
Max-Plastix 2022-01-23 13:04:51 -08:00
rodzic 80c7aade5c
commit 7bb4141132
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -738,7 +738,7 @@ void update_activity() {
else
tx_interval_s = stationary_tx_interval_s;
if (now - screen_last_active_ms > screen_idle_off_s * 1000) {
if (!screen_stay_on && now - screen_last_active_ms > screen_idle_off_s * 1000) {
if (is_screen_on) {
is_screen_on = false;
screen_off();