Small optimization for touchrotating

This commit is contained in:
kevin
2023-07-30 17:09:03 +08:00
parent 4ee15e629e
commit 399f336767
+4
View File
@@ -1816,6 +1816,10 @@ void ModeButtonPress() {
if (screensaverset) ScreensaverTimerRestart();
doBandSelectionFM();
doBandSelectionAM();
if (touchrotating) {
if (poweroptions != LCD_OFF) poweroptions = LCD_OFF;
if (!screensaverset) screensaverset = 1;
}
}
}
while (digitalRead(MODEBUTTON) == LOW) delay(50);