summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-01 20:35:31 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-01 20:35:31 +0100
commit9d840bb688844458e7ba270ddbb1944d40c317ec (patch)
treec6660e33147f05a18854108017a58b57ef199a36 /src/main.cc
parentdbad58b5c781db9fe2c1ac695b526a1035d13749 (diff)
rename animation.mode to more appropriate animation.type
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 5afa6d7..160406c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -10,7 +10,7 @@ animation_t ohai;
int main (void)
{
- ohai.mode = AnimationType::TEXT;
+ ohai.type = AnimationType::TEXT;
ohai.speed = (2 << 4) + 15;
ohai.data = (uint8_t *)"\001 Ohai ";
ohai.length = 8;
@@ -18,7 +18,7 @@ int main (void)
uint8_t anim_data[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0, 0, 0, 0 };
animation_t test;
- test.mode = AnimationType::FRAMES;
+ test.type = AnimationType::FRAMES;
test.speed = 14;
test.length = 2*8;
test.data = anim_data;