aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-pcint.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-01-24 18:28:29 -0700
committerSelene ToyKeeper2018-01-24 18:28:29 -0700
commit8267c1f121d9766e37d2056004bd7bb47b512288 (patch)
tree80e49470467f24634f3a6261a2d8a99c2cc5e26f /spaghetti-monster/fsm-pcint.c
parentWork around issues related to ADC interrupt auto-triggering itself. (diff)
downloadanduril-8267c1f121d9766e37d2056004bd7bb47b512288.tar.gz
anduril-8267c1f121d9766e37d2056004bd7bb47b512288.tar.bz2
anduril-8267c1f121d9766e37d2056004bd7bb47b512288.zip
Save a few bytes by changing how PCINT is defined.
Minor comment cleaning.
Diffstat (limited to 'spaghetti-monster/fsm-pcint.c')
-rw-r--r--spaghetti-monster/fsm-pcint.c3
1 files changed, 3 insertions, 0 deletions
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)