From 4052efbf6d7993c6b846105e870b1fcbcdb761e7 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 25 Aug 2017 02:32:43 -0600 Subject: Made 4bar and 8bar battcheck styles work. Added LVP handling for other modes, including battcheck. --- spaghetti-monster/fsm-misc.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'spaghetti-monster/fsm-misc.h') 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 -- cgit v1.2.3