summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2022-10-02 18:04:09 +0200
committerJean-François Milants <jf@codingfield.com>2022-10-02 18:04:09 +0200
commitc9b1fb82446390be637374bb11ca53770c9d09f5 (patch)
tree8abccbf131ca5e60e549464160470eadb83e8d0b /src/displayapp/DisplayApp.h
parent60abbf0639d14334a27569da7cec71c447a2ab92 (diff)
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.
Diffstat (limited to 'src/displayapp/DisplayApp.h')
-rw-r--r--src/displayapp/DisplayApp.h1
1 files changed, 1 insertions, 0 deletions
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();
};
}
}