summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-16 21:00:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-03-16 21:00:03 +0100
commitcada20fe245628f1be7ccc57a3a41e828ec13c66 (patch)
treee1f43ab12abfd69628f1e23b72576c5e408a41fa /src/display.h
parentbdb7cce4d563250f567dac299c4cab25d01bf329 (diff)
make delay independent from speed, document meaning of both
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/display.h b/src/display.h
index 1bf5758..aac64dd 100644
--- a/src/display.h
+++ b/src/display.h
@@ -102,6 +102,12 @@ class Display {
uint8_t need_update;
/**
+ * Number of frames after which update() is called. This value
+ * holds either the current animation's speed or its delay.
+ */
+ uint8_t update_threshold;
+
+ /**
* The currently active column in multiplex()
*/
uint8_t active_col;