aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-05-30 09:28:19 -0600
committerSelene ToyKeeper2023-05-30 09:28:19 -0600
commite3798bbd2d4e46cb73e266401d2817533683a7e9 (patch)
treeeba85ef408dfdf263da18d6c33eb8a9d97c8bec6 /spaghetti-monster/fsm-misc.h
parentfixed aux pre-flash (thanks to wolfgirl42) (diff)
downloadanduril-e3798bbd2d4e46cb73e266401d2817533683a7e9.tar.gz
anduril-e3798bbd2d4e46cb73e266401d2817533683a7e9.tar.bz2
anduril-e3798bbd2d4e46cb73e266401d2817533683a7e9.zip
moved definition of BLINK_ONCE_TIME to the same file as BLINK_BRIGHTNESS
Diffstat (limited to 'spaghetti-monster/fsm-misc.h')
-rw-r--r--spaghetti-monster/fsm-misc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 8988337..8de6b29 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -8,6 +8,11 @@
void auto_clock_speed();
#endif
+// shortest time (in ms) the light should blink for to indicate a zero
+#ifndef BLINK_ONCE_TIME
+ #define BLINK_ONCE_TIME 10
+#endif
+
#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
#ifndef BLINK_BRIGHTNESS
#define BLINK_BRIGHTNESS (MAX_LEVEL/6)