diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-01 20:35:31 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-01 20:35:31 +0100 |
commit | 9d840bb688844458e7ba270ddbb1944d40c317ec (patch) | |
tree | c6660e33147f05a18854108017a58b57ef199a36 /src/display.h | |
parent | dbad58b5c781db9fe2c1ac695b526a1035d13749 (diff) |
rename animation.mode to more appropriate animation.type
Diffstat (limited to 'src/display.h')
-rw-r--r-- | src/display.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/display.h b/src/display.h index 9437113..5dd6bfe 100644 --- a/src/display.h +++ b/src/display.h @@ -19,7 +19,7 @@ struct animation { * Specific kind of animation described in this struct. Controls the * behaviour of Display::multiplex() and Display::update(). */ - AnimationType mode; + AnimationType type; /** * Length of data in bytes @@ -27,8 +27,8 @@ struct animation { uint8_t length; /** - * * If mode == AnimationType::TEXT: Text scroll speed in columns per TODO - * * If mode == FRAMES: Frames per TODO + * * If type == AnimationType::TEXT: Text scroll speed in columns per TODO + * * If type == AnimationType::FRAMES: Frames per TODO */ uint8_t speed; @@ -43,9 +43,9 @@ struct animation { uint8_t direction; /** - * * If mode == AnimationType::TEXT: character array pointing to the + * * If type == AnimationType::TEXT: character array pointing to the * animation text in standard ASCII format (+ special font chars) - * * If mode == FRAMES: Frame array. Each element encodes + * * If type == AnimationType::FRAMES: Frame array. Each element encodes * a display column (starting with the leftmost one), each group of * eight elements is a frame. */ |