From fd019c7aada09dc78d72eb599798952d608baeb8 Mon Sep 17 00:00:00 2001 From: mark9064 <30447455+mark9064@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:53:08 +0100 Subject: Use DirtyValue for timer --- src/displayapp/screens/Timer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/displayapp/screens/Timer.h') diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h index 409cae1c..0cb2bb08 100644 --- a/src/displayapp/screens/Timer.h +++ b/src/displayapp/screens/Timer.h @@ -5,6 +5,7 @@ #include "systemtask/SystemTask.h" #include "displayapp/LittleVgl.h" #include "displayapp/widgets/Counter.h" +#include "utility/DirtyValue.h" #include #include "components/timer/Timer.h" @@ -26,6 +27,7 @@ namespace Pinetime::Applications { void SetTimerRunning(); void SetTimerStopped(); void UpdateMask(); + void DisplayTime(); Pinetime::Controllers::Timer& timer; lv_obj_t* btnPlayPause; @@ -43,6 +45,7 @@ namespace Pinetime::Applications { bool buttonPressing = false; lv_coord_t maskPosition = 0; TickType_t pressTime = 0; + Utility::DirtyValue displaySeconds; }; } -- cgit v1.2.3-70-g09d2