summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-31 18:45:12 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-31 18:45:12 +0100
commit49d24d31aebe97a56bb9cb4f1657edbb897ae64b (patch)
tree72e9ee3d0f54401b92df2f9ad03191655c93365b
parentd9f650fc6e723dabeccc800c16ca4d809f4bb94a (diff)
move display update to system idle loop
-rw-r--r--src/main.cc1
-rw-r--r--src/system.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 765f1d9..5fa0c0d 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -55,7 +55,6 @@ int main (void)
* it means we can immediately process the received data.
*/
rocket.loop();
- display.update();
}
return 0;
diff --git a/src/system.cc b/src/system.cc
index 8d5c5ad..15ee0b9 100644
--- a/src/system.cc
+++ b/src/system.cc
@@ -54,6 +54,8 @@ void System::loop()
i = 0;
}
}
+
+ display.update();
}
void System::shutdown()