diff options
| author | Selene ToyKeeper | 2018-12-14 09:42:41 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-12-14 09:42:41 -0700 |
| commit | 197f0dee351579a298fda8688bc8bc7d54eee813 (patch) | |
| tree | 250ae620fa5277a7cc8239ffed4d75ef7c47db12 | |
| parent | Enable BOD on attiny85 by default, because it matters on the FW3A and doesn't... (diff) | |
| download | anduril-197f0dee351579a298fda8688bc8bc7d54eee813.tar.gz anduril-197f0dee351579a298fda8688bc8bc7d54eee813.tar.bz2 anduril-197f0dee351579a298fda8688bc8bc7d54eee813.zip | |
Enable fancier aux LED blinking mode on BLF Q8 and Sofirn SP36.
| -rw-r--r-- | spaghetti-monster/anduril/cfg-blf-q8.h | 3 | ||||
| -rw-r--r-- | spaghetti-monster/anduril/cfg-sofirn-sp36.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/cfg-blf-q8.h b/spaghetti-monster/anduril/cfg-blf-q8.h index 84c6dcd..90099c3 100644 --- a/spaghetti-monster/anduril/cfg-blf-q8.h +++ b/spaghetti-monster/anduril/cfg-blf-q8.h @@ -8,6 +8,9 @@ #define TICK_DURING_STANDBY #define STANDBY_TICK_SPEED 3 // every 0.128 s #define USE_FANCIER_BLINKING_INDICATOR +// off mode: high (2) +// lockout: blinking (3) +#define INDICATOR_LED_DEFAULT_MODE ((3<<2) + 2) // copied from Emisar D4 ramp // ../../bin/level_calc.py 1 65 7135 1 0.8 150 diff --git a/spaghetti-monster/anduril/cfg-sofirn-sp36.h b/spaghetti-monster/anduril/cfg-sofirn-sp36.h index f6f7447..2d6717f 100644 --- a/spaghetti-monster/anduril/cfg-sofirn-sp36.h +++ b/spaghetti-monster/anduril/cfg-sofirn-sp36.h @@ -9,7 +9,10 @@ // the high button LED mode on this light uses too much power // off mode: low (1) // lockout: blinking (3) +#ifdef INDICATOR_LED_DEFAULT_MODE +#undef INDICATOR_LED_DEFAULT_MODE #define INDICATOR_LED_DEFAULT_MODE ((3<<2) + 1) +#endif // don't blink during the ramp; the button LED brightness is sufficient // to indicate which power channel(s) are being used |
