From c9b1fb82446390be637374bb11ca53770c9d09f5 Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Sun, 2 Oct 2022 18:04:09 +0200 Subject: 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. --- src/displayapp/DisplayApp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/displayapp/DisplayApp.h') diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h index ae605114..4c54e227 100644 --- a/src/displayapp/DisplayApp.h +++ b/src/displayapp/DisplayApp.h @@ -121,6 +121,7 @@ namespace Pinetime { Apps nextApp = Apps::None; DisplayApp::FullRefreshDirections nextDirection; System::BootErrors bootError; + void ApplyBrightness(); }; } } -- cgit v1.2.3-70-g09d2