cleanup
This commit is contained in:
1 parent
7975d07cc9
commit
f63cb72108
3 files changed
+3
-6
No files matched your search
@@ -311,12 +311,8 @@ void UITask::handleButtonAnyPress() {
|
||||
if (_display != NULL) {
|
||||
if (!_display->isOn()) {
|
||||
_display->turnOn();
|
||||
_need_refresh = true;
|
||||
} else {
|
||||
// Turn on display
|
||||
_display->turnOn();
|
||||
_need_refresh = true;
|
||||
}
|
||||
_need_refresh = true;
|
||||
_auto_off = millis() + AUTO_OFF_MILLIS; // extend auto-off timer
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user