Fixed display sleep on T3S3
This commit is contained in:
parent
d7511d430e
commit
5807cfdb96
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue