aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-events.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-03 14:58:22 -0600
committerSelene ToyKeeper2017-09-03 14:58:22 -0600
commita419850e536f00549120255a627137faffded47a (patch)
tree60976f561f189d6e5e08a581bdc3824f163f65be /spaghetti-monster/fsm-events.c
parentAdded UI2. UI2 is weird. (diff)
downloadanduril-a419850e536f00549120255a627137faffded47a.tar.gz
anduril-a419850e536f00549120255a627137faffded47a.tar.bz2
anduril-a419850e536f00549120255a627137faffded47a.zip
Got the 4th PWM channel to work, ish. (channel 4 is inverted though)
Moved go_to_suspend thing into main() instead of making each UI handle that during loop(). Made default_state() optional. Fixed bug where battcheck and other number readouts could interfere with the state which interrupted them. (they would sometimes turn the LED off after the new state had already started) Updated darkhorse's moon levels to match new ramp on D4 hardware.
Diffstat (limited to 'spaghetti-monster/fsm-events.c')
-rw-r--r--spaghetti-monster/fsm-events.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/spaghetti-monster/fsm-events.c b/spaghetti-monster/fsm-events.c
index 99a6a72..5448feb 100644
--- a/spaghetti-monster/fsm-events.c
+++ b/spaghetti-monster/fsm-events.c
@@ -170,8 +170,4 @@ void emit_current_event(uint16_t arg) {
//return err;
}
-// TODO? add events to a queue when inside an interrupt
-// instead of calling the event functions directly?
-// (then empty the queue in main loop?)
-
#endif