aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/BatteryInfo.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/BatteryInfo.cpp
parentc78211952efa07bf2f7b648493e5cbd90331672d (diff)
screens: Remove unused DisplayApp parameters
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.cpp')
-rw-r--r--src/displayapp/screens/BatteryInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/BatteryInfo.cpp b/src/displayapp/screens/BatteryInfo.cpp
index 1ed6172d..7cfd0aca 100644
--- a/src/displayapp/screens/BatteryInfo.cpp
+++ b/src/displayapp/screens/BatteryInfo.cpp
@@ -5,8 +5,7 @@
using namespace Pinetime::Applications::Screens;
-BatteryInfo::BatteryInfo(Pinetime::Applications::DisplayApp* app, const Pinetime::Controllers::Battery& batteryController)
- : batteryController {batteryController} {
+BatteryInfo::BatteryInfo(const Pinetime::Controllers::Battery& batteryController) : batteryController {batteryController} {
batteryPercent = batteryController.PercentRemaining();
batteryVoltage = batteryController.Voltage();