diff options
| author | hubmartin <hub.martin@gmail.com> | 2021-09-16 20:04:31 (GMT) |
|---|---|---|
| committer | hubmartin <hub.martin@gmail.com> | 2021-09-16 20:04:31 (GMT) |
| commit | 27366bdfdf05a5fd3128ad8eabedbeba720ca885 (patch) | |
| tree | 94bf7fe9e60c7c88d269e207acb197915eb98660 /src/displayapp/screens/StopWatch.h | |
| parent | db50131ed49f2fdb639799ca12839862340f8396 (diff) | |
| parent | 3eb73774a39e255cd4b5de76441a59f1525a989c (diff) | |
Merge branch 'develop' into wake-time
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
| -rw-r--r-- | src/displayapp/screens/StopWatch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h index e132f15..25634e9 100644 --- a/src/displayapp/screens/StopWatch.h +++ b/src/displayapp/screens/StopWatch.h @@ -64,7 +64,7 @@ namespace Pinetime::Applications::Screens { public: StopWatch(DisplayApp* app, System::SystemTask& systemTask); ~StopWatch() override; - bool Refresh() override; + void Refresh() override; void playPauseBtnEventHandler(lv_event_t event); void stopLapBtnEventHandler(lv_event_t event); @@ -77,7 +77,6 @@ namespace Pinetime::Applications::Screens { private: Pinetime::System::SystemTask& systemTask; TickType_t timeElapsed; - bool running; States currentState; TickType_t startTime; TickType_t oldTimeElapsed; @@ -86,5 +85,7 @@ namespace Pinetime::Applications::Screens { int lapNr = 0; lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap; lv_obj_t *lapOneText, *lapTwoText; + + lv_task_t* taskRefresh; }; } |
