From 9a6965d62578bc7260c7ba1d4860152721c12ea9 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 19 Aug 2017 16:25:39 -0600 Subject: Extra debouncing in PCINT (don't emit event if push was rejected). Fixed memory error in Baton -- long-press from off didn't restart at moon. Made Momentary and Baton go to sleep while light is off. --- spaghetti-monster/spaghetti-monster.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'spaghetti-monster/spaghetti-monster.h') diff --git a/spaghetti-monster/spaghetti-monster.h b/spaghetti-monster/spaghetti-monster.h index cfabea8..fe5e939 100644 --- a/spaghetti-monster/spaghetti-monster.h +++ b/spaghetti-monster/spaghetti-monster.h @@ -240,7 +240,7 @@ void empty_event_sequence() { for(uint8_t i=0; i