aboutsummaryrefslogtreecommitdiffstats
path: root/pico-watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pico-watch.cpp')
-rw-r--r--pico-watch.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/pico-watch.cpp b/pico-watch.cpp
index 9e22687..1dee093 100644
--- a/pico-watch.cpp
+++ b/pico-watch.cpp
@@ -95,8 +95,10 @@ int main() {
app_init(current_app);
while (1) {
- if (app_ready && !is_sleeping)
+ if (app_ready && !is_sleeping) {
app_render(current_app); // FIXME: This may cause race conditions when switching app
+ app_api.display_write_backbuffer();
+ }
sleep_ms(app_api.performance_render_interval_get());
}
return 0;