aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/WatchFaceInfineat.h
diff options
context:
space:
mode:
authorSteve Amor <steveamor@users.noreply.github.com>2025-02-28 19:15:29 +0000
committermark9064 <30447455+mark9064@users.noreply.github.com>2025-05-23 17:46:14 +0100
commit9fb35cc073452d20a8c106693d86ffd332a85032 (patch)
treeb373dbbab6c83c7a1c08181a2d2896e97060530a /src/displayapp/screens/WatchFaceInfineat.h
parent248a6aea8771389cf733e89090096258e936f3b2 (diff)
Refactors watch faces. Replace lv_tick_get() with xTaskGetTickCount()
Diffstat (limited to 'src/displayapp/screens/WatchFaceInfineat.h')
-rw-r--r--src/displayapp/screens/WatchFaceInfineat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h
index 78d020f1..c8e11039 100644
--- a/src/displayapp/screens/WatchFaceInfineat.h
+++ b/src/displayapp/screens/WatchFaceInfineat.h
@@ -45,8 +45,8 @@ namespace Pinetime {
static bool IsAvailable(Pinetime::Controllers::FS& filesystem);
private:
- uint32_t savedTick = 0;
uint8_t chargingBatteryPercent = 101; // not a mistake ;)
+ TickType_t savedTick = 0;
TickType_t chargingAnimationTick = 0;
Utility::DirtyValue<uint8_t> batteryPercentRemaining {};