summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-29 16:57:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-29 16:57:52 +0100
commit8b1bad7e3e8d9311cb881e4df2101203f5a1eb9e (patch)
tree194c95163163e52f215e46e678a4e7c0c5abc65b /src/main.cc
parentedf5f5ab92520b6af3151bca2b97c618a9d1d7f9 (diff)
check ->length for texts, too
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index a8fb5d3..91ff92a 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -15,8 +15,8 @@ int main (void)
animation_t ohai;
ohai.mode = AnimationType::TEXT;
ohai.speed = (4 << 4) + 15;
- ohai.data = (uint8_t *)"Ohai! ";
- ohai.length = 6;
+ ohai.data = (uint8_t *)"\001 Ohai ";
+ ohai.length = 8;
uint8_t anim_data[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0, 0, 0, 0 };