Small optimization for touchrotating
This commit is contained in:
@@ -1816,6 +1816,10 @@ void ModeButtonPress() {
|
|||||||
if (screensaverset) ScreensaverTimerRestart();
|
if (screensaverset) ScreensaverTimerRestart();
|
||||||
doBandSelectionFM();
|
doBandSelectionFM();
|
||||||
doBandSelectionAM();
|
doBandSelectionAM();
|
||||||
|
if (touchrotating) {
|
||||||
|
if (poweroptions != LCD_OFF) poweroptions = LCD_OFF;
|
||||||
|
if (!screensaverset) screensaverset = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (digitalRead(MODEBUTTON) == LOW) delay(50);
|
while (digitalRead(MODEBUTTON) == LOW) delay(50);
|
||||||
|
|||||||
Reference in New Issue
Block a user