aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-channels.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-08-24 17:08:01 -0600
committerSelene ToyKeeper2023-08-24 17:08:01 -0600
commit04a48e44b25d1c42dc26f837586a7503bb74b749 (patch)
treefb4b0536ef8d9b05fa606d5ab082a30addf08781 /spaghetti-monster/fsm-channels.c
parentfixed issue where tactical mode overrode strobe group memory (diff)
downloadanduril-04a48e44b25d1c42dc26f837586a7503bb74b749.tar.gz
anduril-04a48e44b25d1c42dc26f837586a7503bb74b749.tar.bz2
anduril-04a48e44b25d1c42dc26f837586a7503bb74b749.zip
added channel mode per strobe mode, and made FSM channel mode more flexible,
and fixed issue in tactical mode where strobes wouldn't stop on button release
Diffstat (limited to 'spaghetti-monster/fsm-channels.c')
-rw-r--r--spaghetti-monster/fsm-channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-channels.c b/spaghetti-monster/fsm-channels.c
index 3b30b58..944bdcb 100644
--- a/spaghetti-monster/fsm-channels.c
+++ b/spaghetti-monster/fsm-channels.c
@@ -13,7 +13,7 @@ void set_channel_mode(uint8_t mode) {
set_level(0);
// change the channel
- CH_MODE = mode;
+ channel_mode = mode;
// update the LEDs
set_level(cur_level);