diff options
| author | Selene ToyKeeper | 2019-09-06 04:38:00 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-09-06 04:38:00 -0600 |
| commit | 7851656847738192e0e12cfe77861ba58d98cf6f (patch) | |
| tree | abe34d61f48402f93fd954fb4759a6d9cd231a01 /spaghetti-monster/fsm-misc.h | |
| parent | fixed attiny13 builds (diff) | |
| download | anduril-7851656847738192e0e12cfe77861ba58d98cf6f.tar.gz anduril-7851656847738192e0e12cfe77861ba58d98cf6f.tar.bz2 anduril-7851656847738192e0e12cfe77861ba58d98cf6f.zip | |
added button LED support to D4v2
(in a way which doesn't break backward compatibility...
... but it really needs some refactoring to reduce code duplication)
Diffstat (limited to 'spaghetti-monster/fsm-misc.h')
| -rw-r--r-- | spaghetti-monster/fsm-misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h index a39d31a..66d31ba 100644 --- a/spaghetti-monster/fsm-misc.h +++ b/spaghetti-monster/fsm-misc.h @@ -43,10 +43,16 @@ uint8_t blink(uint8_t num, uint8_t speed); */ #ifdef USE_INDICATOR_LED +// FIXME: Remove this, replace with button_led() // lvl: 0=off, 1=low, 2=high void indicator_led(uint8_t lvl); #endif +#ifdef USE_BUTTON_LED +// lvl: 0=off, 1=low, 2=high +void button_led_set(uint8_t lvl); +#endif + #ifdef USE_AUX_RGB_LEDS // value: 0b00BBGGRR // each pair of bits: 0=off, 1=low, 2=high |
