diff options
| author | Selene ToyKeeper | 2024-03-28 08:19:17 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2024-03-28 08:19:17 -0600 |
| commit | 3cabd5acdddb7ace17b12fe1df9b6281f63b7905 (patch) | |
| tree | 34e69987220cef3f1c2c656dfa7f93818ee9d9b2 /ui | |
| parent | Merge branch 'bugfix-tacmode-without-momentary' of github.com:SiteRelEnby/and... (diff) | |
| download | anduril-3cabd5acdddb7ace17b12fe1df9b6281f63b7905.tar.gz anduril-3cabd5acdddb7ace17b12fe1df9b6281f63b7905.tar.bz2 anduril-3cabd5acdddb7ace17b12fe1df9b6281f63b7905.zip | |
fixed Tactical Mode's strobes when Momentary Mode not enabled
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/anduril/anduril.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/anduril/anduril.c b/ui/anduril/anduril.c index 7557bf7..4378816 100644 --- a/ui/anduril/anduril.c +++ b/ui/anduril/anduril.c @@ -293,10 +293,12 @@ void loop() { #ifdef USE_STROBE_STATE else if ((state == strobe_state) - #ifdef USE_MOMENTARY_MODE + #if defined(USE_MOMENTARY_MODE) || defined(USE_TACTICAL_MODE) // also handle momentary strobes - || (( - (state == momentary_state) + || ((0 + #ifdef USE_MOMENTARY_MODE + || (state == momentary_state) + #endif #ifdef USE_TACTICAL_MODE || (state == tactical_state) #endif |
