aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Screen.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-30 10:15:19 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-08-30 10:15:19 +0300
commit21d37d1e234b217b3e71dc65eb19db197ee21bad (patch)
treed1082c3dbcddd6d56fbb0f14fc9100f1efbfe441 /src/displayapp/screens/Screen.cpp
parent085c9ab2e15b35af01d73e823a87994a7a24a76f (diff)
parent6c023785e53c507f7cb20703f5f3a221ea095068 (diff)
Merge remote-tracking branch 'upstream/develop' into timer_battery_reading
Diffstat (limited to 'src/displayapp/screens/Screen.cpp')
-rw-r--r--src/displayapp/screens/Screen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/displayapp/screens/Screen.cpp b/src/displayapp/screens/Screen.cpp
index 1467df33..6ae5b7bb 100644
--- a/src/displayapp/screens/Screen.cpp
+++ b/src/displayapp/screens/Screen.cpp
@@ -1,2 +1,6 @@
#include "Screen.h"
-using namespace Pinetime::Applications::Screens; \ No newline at end of file
+using namespace Pinetime::Applications::Screens;
+
+void Screen::RefreshTaskCallback(lv_task_t* task) {
+ static_cast<Screen*>(task->user_data)->Refresh();
+}