diff options
author | Kieran Cawthray <kieranc@gmail.com> | 2021-07-20 15:30:07 +0200 |
---|---|---|
committer | Kieran Cawthray <kieranc@gmail.com> | 2021-07-20 15:30:07 +0200 |
commit | db784fc2fb4e9095f3c1a0168a4b6978e8bfa76d (patch) | |
tree | 84bbed8c3a9ae57ad2fdbe92b0f61e8eadbc5fbc /src/displayapp/screens/SystemInfo.cpp | |
parent | 5c183bef8549368ca8709f98215d52f8e150ad57 (diff) | |
parent | 57b339707861c5688f5d432f1506a99df6bb0fce (diff) |
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
-rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index 5ae3a595..f5bf0cc9 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -103,7 +103,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen1() { } std::unique_ptr<Screen> SystemInfo::CreateScreen2() { - auto batteryPercent = static_cast<uint8_t>(batteryController.PercentRemaining()); + auto batteryPercent = batteryController.PercentRemaining(); auto resetReason = [this]() { switch (watchdog.ResetReason()) { case Drivers::Watchdog::ResetReasons::Watchdog: |