Fixed display sleep on T3S3

This commit is contained in:
Mark Qvist 2024-10-07 18:25:08 +02:00
parent d7511d430e
commit 5807cfdb96
1 changed files with 15 additions and 11 deletions

View File

@ -692,6 +692,9 @@ void update_disp_area() {
}
void update_display(bool blank = false) {
if (blank == true) {
last_disp_update = millis()-disp_update_interval-1;
} else {
if (display_blanking_enabled && millis()-last_unblank_event >= display_blanking_timeout) {
blank = true;
display_blanked = true;
@ -706,6 +709,7 @@ void update_display(bool blank = false) {
display_unblank_intensity = 0x00;
}
}
}
if (blank) {
if (millis()-last_disp_update >= disp_update_interval) {