aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/BatteryInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.h')
-rw-r--r--src/displayapp/screens/BatteryInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/BatteryInfo.h b/src/displayapp/screens/BatteryInfo.h
index de34cdff..2c32cebb 100644
--- a/src/displayapp/screens/BatteryInfo.h
+++ b/src/displayapp/screens/BatteryInfo.h
@@ -14,13 +14,13 @@ namespace Pinetime {
class BatteryInfo : public Screen {
public:
- BatteryInfo(DisplayApp* app, Pinetime::Controllers::Battery& batteryController);
+ BatteryInfo(DisplayApp* app, const Pinetime::Controllers::Battery& batteryController);
~BatteryInfo() override;
void Refresh() override;
private:
- Pinetime::Controllers::Battery& batteryController;
+ const Pinetime::Controllers::Battery& batteryController;
lv_obj_t* voltage;
lv_obj_t* percent;