Skip to content

Instantly share code, notes, and snippets.

@telent
Created December 10, 2021 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telent/60c40a1f51e7fe02c1164def187ce976 to your computer and use it in GitHub Desktop.
Save telent/60c40a1f51e7fe02c1164def187ce976 to your computer and use it in GitHub Desktop.
diff --git a/src/displayapp/DisplayAppRecovery.cpp b/src/displayapp/DisplayAppRecovery.cpp
index fd7017a..aa10944 100644
--- a/src/displayapp/DisplayAppRecovery.cpp
+++ b/src/displayapp/DisplayAppRecovery.cpp
@@ -48,6 +48,8 @@ void DisplayApp::Process(void* instance) {
}
void DisplayApp::InitHw() {
+ brightnessController.Init();
+ brightnessController.Set(Controllers::BrightnessController::Levels::High); // Controllers::BrightnessController::Levels.
DisplayLogo(colorWhite);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment