summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index aefad1c..78cbd88 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -31,9 +31,14 @@ int main (void)
// nothing to do here, go to idle to save power
SMCR = _BV(SE);
asm("sleep");
- // The display timer causes a wakeup after 256µs. Run the system
- // loop after the timer's ISR is done.
+ /*
+ * The display timer causes a wakeup after 256µs. Run the system
+ * loop after the timer's ISR is done.
+ * The Modem also causes wakeups, which is pretty convenient since
+ * it means we can immediately process the received data.
+ */
rocket.loop();
+ display.scroll();
}
return 0;