diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-22 22:36:38 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-25 16:56:03 +0200 |
| commit | 26478d9006ea1ce92305c8995d2d2ac61d1964c4 (patch) | |
| tree | 20648413c805411d4e6f691c68f16d702b7bf2a0 /src/displayapp/screens/BatteryInfo.cpp | |
| parent | c78211952efa07bf2f7b648493e5cbd90331672d (diff) | |
screens: Remove unused DisplayApp parameters
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.cpp')
| -rw-r--r-- | src/displayapp/screens/BatteryInfo.cpp | 3 |
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(); |
