diff options
| author | Tim <tim@taenny.de> | 2021-08-08 14:37:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-08 14:37:48 +0200 |
| commit | 3e9c30a18fb0a0fa7cc69e62821ca0d11e518f47 (patch) | |
| tree | 5422eb59505f40c4c5dba1f14dc7608e27c3bcaa /src/displayapp/screens/BatteryInfo.h | |
| parent | ffa51612fc6884ccfeb4f23453acc451692c18b3 (diff) | |
| parent | 514481ef7f9c71ad816b31d979c6ab39ce9380dd (diff) | |
Merge branch 'JF002:develop' into set-datetime-manually
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.h')
| -rw-r--r-- | src/displayapp/screens/BatteryInfo.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/displayapp/screens/BatteryInfo.h b/src/displayapp/screens/BatteryInfo.h index 346dc571..69793244 100644 --- a/src/displayapp/screens/BatteryInfo.h +++ b/src/displayapp/screens/BatteryInfo.h @@ -22,7 +22,6 @@ namespace Pinetime { bool Refresh() override; void UpdateScreen(); - void UpdateAnim(); private: Pinetime::Controllers::Battery& batteryController; @@ -33,10 +32,8 @@ namespace Pinetime { lv_obj_t* status; lv_task_t* taskUpdate; - lv_task_t* taskAnim; - int8_t animation = 0; - int8_t batteryPercent = -1; + uint8_t batteryPercent = 0; uint16_t batteryVoltage = 0; }; } |
