diff options
| author | Selene ToyKeeper | 2019-11-24 21:30:29 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-11-24 21:30:29 -0700 |
| commit | e8ec4a8ebc8c4285f3d3c4545b56e68a3290c1ff (patch) | |
| tree | 4a1b68628c779bf4092a64ae027917529d03e158 /spaghetti-monster/fsm-misc.h | |
| parent | added -fwhole-program gcc flag, suggested by Agro. Signficantly reduces ROM ... (diff) | |
| parent | merged from upstream fsm branch to get a whole bunch of kernel-level improvem... (diff) | |
| download | anduril-e8ec4a8ebc8c4285f3d3c4545b56e68a3290c1ff.tar.gz anduril-e8ec4a8ebc8c4285f3d3c4545b56e68a3290c1ff.tar.bz2 anduril-e8ec4a8ebc8c4285f3d3c4545b56e68a3290c1ff.zip | |
merged d4v2-buttonled branch, which makes the D4V2's lighted button work
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 |
