summaryrefslogtreecommitdiff
path: root/src/system.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-29 20:45:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-29 20:45:10 +0100
commit2812a77fe2b46997616ccd793b030befd5413729 (patch)
tree5517b23dfed2f88c7487adb15be19b93133d9fb4 /src/system.cc
parent8b1bad7e3e8d9311cb881e4df2101203f5a1eb9e (diff)
re-add transmission demo code
Diffstat (limited to 'src/system.cc')
-rw-r--r--src/system.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/system.cc b/src/system.cc
index fa039ce..774127d 100644
--- a/src/system.cc
+++ b/src/system.cc
@@ -12,6 +12,8 @@
System rocket;
+extern animation_t ohai;
+
uint8_t disp_buf[128];
void System::loop()
@@ -76,8 +78,10 @@ void System::loop()
if (i == 127) {
i = 0;
} else if (modem_byte == 0) {
+ ohai.data = disp_buf;
+ ohai.length = i-1;
+ display.show(&ohai);
i = 0;
- //display.show(disp_buf);
}
}
}