aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/FlashLight.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-02-22 22:36:38 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-25 16:56:03 +0200
commit26478d9006ea1ce92305c8995d2d2ac61d1964c4 (patch)
tree20648413c805411d4e6f691c68f16d702b7bf2a0 /src/displayapp/screens/FlashLight.cpp
parentc78211952efa07bf2f7b648493e5cbd90331672d (diff)
screens: Remove unused DisplayApp parameters
Diffstat (limited to 'src/displayapp/screens/FlashLight.cpp')
-rw-r--r--src/displayapp/screens/FlashLight.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/displayapp/screens/FlashLight.cpp b/src/displayapp/screens/FlashLight.cpp
index f55a6598..1b7cf39c 100644
--- a/src/displayapp/screens/FlashLight.cpp
+++ b/src/displayapp/screens/FlashLight.cpp
@@ -14,9 +14,7 @@ namespace {
}
}
-FlashLight::FlashLight(Pinetime::Applications::DisplayApp* app,
- System::SystemTask& systemTask,
- Controllers::BrightnessController& brightnessController)
+FlashLight::FlashLight(System::SystemTask& systemTask, Controllers::BrightnessController& brightnessController)
: systemTask {systemTask}, brightnessController {brightnessController} {
brightnessController.Set(Controllers::BrightnessController::Levels::Low);