From 8b77e295c448d7f5ecc2cb34829f84dac648ce2b Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 28 Apr 2023 02:47:45 -0600 Subject: only use 2-color strobe in tactical mode if it's on main LEDs, not aux --- spaghetti-monster/anduril/tactical-mode.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spaghetti-monster') 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 -- cgit v1.2.3