From 8267c1f121d9766e37d2056004bd7bb47b512288 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Wed, 24 Jan 2018 18:28:29 -0700 Subject: Save a few bytes by changing how PCINT is defined. Minor comment cleaning. --- spaghetti-monster/fsm-pcint.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spaghetti-monster/fsm-pcint.c') diff --git a/spaghetti-monster/fsm-pcint.c b/spaghetti-monster/fsm-pcint.c index 722cb88..a79572d 100644 --- a/spaghetti-monster/fsm-pcint.c +++ b/spaghetti-monster/fsm-pcint.c @@ -54,6 +54,8 @@ inline void PCINT_off() { } //void button_change_interrupt() { +EMPTY_INTERRUPT(PCINT0_vect); +/* ISR(PCINT0_vect) { //DEBUG_FLASH; @@ -65,6 +67,7 @@ ISR(PCINT0_vect) { // PCINT_inner(button_is_pressed()); } +*/ // should only be called from PCINT and/or WDT // (is a separate function to reduce code duplication) -- cgit v1.2.3