aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-25 02:32:43 -0600
committerSelene ToyKeeper2017-08-25 02:32:43 -0600
commit4052efbf6d7993c6b846105e870b1fcbcdb761e7 (patch)
tree8de907ef65d1da3897f11d3e2d79bd42bb7e0918 /spaghetti-monster/fsm-misc.c
parentAdded battcheck mode to ramping-ui. It's bigger than I had hoped. :( (diff)
downloadanduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.tar.gz
anduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.tar.bz2
anduril-4052efbf6d7993c6b846105e870b1fcbcdb761e7.zip
Made 4bar and 8bar battcheck styles work.
Added LVP handling for other modes, including battcheck.
Diffstat (limited to 'spaghetti-monster/fsm-misc.c')
-rw-r--r--spaghetti-monster/fsm-misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-misc.c b/spaghetti-monster/fsm-misc.c
index 46325ef..7322a59 100644
--- a/spaghetti-monster/fsm-misc.c
+++ b/spaghetti-monster/fsm-misc.c
@@ -20,7 +20,7 @@
#ifndef FSM_MISC_C
#define FSM_MISC_C
-#ifdef USE_BLINK_NUM
+#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
uint8_t blink_digit(uint8_t num) {
//StatePtr old_state = current_state;
@@ -38,7 +38,9 @@ uint8_t blink_digit(uint8_t num) {
}
return nice_delay_ms(600);
}
+#endif
+#ifdef USE_BLINK_NUM
uint8_t blink_num(uint8_t num) {
//StatePtr old_state = current_state;
#if 0