mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 14:47:37 +03:00
fix: cleanup
This commit is contained in:
parent
ca6598f2c2
commit
75319cb807
@ -139,7 +139,7 @@ void enterNewActivity(Activity* activity) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verify power button press duration on wake-up from deep sleep
|
// Verify power button press duration on wake-up from deep sleep
|
||||||
// Pre-condition: wakeByPowerButton == true
|
// Pre-condition: isWakeupByPowerButton() == true
|
||||||
void verifyPowerButtonDuration() {
|
void verifyPowerButtonDuration() {
|
||||||
if (SETTINGS.shortPwrBtn == CrossPointSettings::SHORT_PWRBTN::SLEEP) {
|
if (SETTINGS.shortPwrBtn == CrossPointSettings::SHORT_PWRBTN::SLEEP) {
|
||||||
// Fast path for short press
|
// Fast path for short press
|
||||||
@ -314,7 +314,6 @@ void setup() {
|
|||||||
setupDisplayAndFonts();
|
setupDisplayAndFonts();
|
||||||
|
|
||||||
exitActivity();
|
exitActivity();
|
||||||
|
|
||||||
enterNewActivity(new BootActivity(renderer, mappedInputManager));
|
enterNewActivity(new BootActivity(renderer, mappedInputManager));
|
||||||
|
|
||||||
APP_STATE.loadFromFile();
|
APP_STATE.loadFromFile();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user