diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-31 18:45:12 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-31 18:45:12 +0100 |
commit | 49d24d31aebe97a56bb9cb4f1657edbb897ae64b (patch) | |
tree | 72e9ee3d0f54401b92df2f9ad03191655c93365b /src | |
parent | d9f650fc6e723dabeccc800c16ca4d809f4bb94a (diff) |
move display update to system idle loop
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cc | 1 | ||||
-rw-r--r-- | src/system.cc | 2 |
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() |