aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
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.h
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.h')
-rw-r--r--spaghetti-monster/fsm-misc.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 7533849..58667a1 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -20,16 +20,22 @@
#ifndef FSM_MISC_H
#define FSM_MISC_H
-#ifdef USE_BLINK_NUM
-#define USE_BLINK
+#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
#ifndef BLINK_BRIGHTNESS
#define BLINK_BRIGHTNESS (MAX_LEVEL/6)
#endif
+uint8_t blink_digit(uint8_t num);
+#endif
+
+#ifdef USE_BLINK_NUM
+//#define USE_BLINK
uint8_t blink_num(uint8_t num);
#endif
+/*
#ifdef USE_BLINK
uint8_t blink(uint8_t num, uint8_t speed);
#endif
+*/
#endif