Brightness management in DisplayApp : do not allow the brightness level OFF when loading app and going to running mode. Such issue could occur in case of inconsistent or corrupted settings.

This commit is contained in:
Jean-François Milants
2022-10-02 18:04:09 +02:00
parent 60abbf0639
commit c9b1fb8244
2 changed files with 14 additions and 4 deletions

View File

@@ -121,6 +121,7 @@ namespace Pinetime {
Apps nextApp = Apps::None;
DisplayApp::FullRefreshDirections nextDirection;
System::BootErrors bootError;
void ApplyBrightness();
};
}
}