summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-23 23:12:05 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-23 23:12:05 +0100
commit6585a5b6a4917331dec7686b8dd5efd2cae3393b (patch)
tree405d8c3344237ce19d9c2340cedf53b46b57c11c /src/display.h
parentcefc03d92aa34622424c675c16eca56da8c9f135 (diff)
display: Rename active_anim to current_anim to avoid name clash
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.h b/src/display.h
index 8e1cca1..3a526b2 100644
--- a/src/display.h
+++ b/src/display.h
@@ -60,7 +60,7 @@ typedef struct animation animation_t;
*/
class Display {
private:
- animation_t *active_anim;
+ animation_t *current_anim;
uint8_t need_update;
uint8_t active_col;
uint8_t disp_buf[8];
@@ -106,7 +106,7 @@ class Display {
/**
* Update display content.
- * Checks active_anim->speed and active_anim->type and scrolls
+ * Checks current_anim->speed and current_anim->type and scrolls
* the text / advances a frame when appropriate. Does nothing
* otherwise.
*/