diff options
| author | Selene ToyKeeper | 2023-04-28 02:47:45 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-04-28 02:47:45 -0600 |
| commit | 8b77e295c448d7f5ecc2cb34829f84dac648ce2b (patch) | |
| tree | 26456a9635e9fc41c9cef518a76c3266c98ceeb2 | |
| parent | tactical mode: use police strobe by default, if it exists (diff) | |
| download | anduril-8b77e295c448d7f5ecc2cb34829f84dac648ce2b.tar.gz anduril-8b77e295c448d7f5ecc2cb34829f84dac648ce2b.tar.bz2 anduril-8b77e295c448d7f5ecc2cb34829f84dac648ce2b.zip | |
only use 2-color strobe in tactical mode if it's on main LEDs, not aux
| -rw-r--r-- | spaghetti-monster/anduril/tactical-mode.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/tactical-mode.h b/spaghetti-monster/anduril/tactical-mode.h index 4e14658..528a796 100644 --- a/spaghetti-monster/anduril/tactical-mode.h +++ b/spaghetti-monster/anduril/tactical-mode.h @@ -6,9 +6,12 @@ #ifndef TACTICAL_LEVELS // high, low, tactical strobe - #ifdef USE_POLICE_COLOR_STROBE_MODE + // only do color strobe here if it's main LEDs, not aux LEDs + #if defined(USE_POLICE_COLOR_STROBE_MODE) && !defined(POLICE_STROBE_USES_AUX) + // 2-color police style strobe #define TACTICAL_LEVELS 120,30,(RAMP_SIZE+3) #else + // regular tactical strobe (1 color) #define TACTICAL_LEVELS 120,30,(RAMP_SIZE+2) #endif #endif |
