aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-pcint.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-04-26 22:03:22 -0600
committerSelene ToyKeeper2020-04-26 22:03:22 -0600
commitd4cdfd20e21a332aa6d191955998ee460f243c0d (patch)
treed79dc759421112eefc05401828efa21c7de11176 /spaghetti-monster/fsm-pcint.c
parentfixed eeprom corruption after turning boost chip on/off (diff)
parentadded tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,... (diff)
downloadanduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.gz
anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.bz2
anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.zip
merged Noctigon KR4 branch, including recent ADC+thermal rewrite
Diffstat (limited to 'spaghetti-monster/fsm-pcint.c')
-rw-r--r--spaghetti-monster/fsm-pcint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-pcint.c b/spaghetti-monster/fsm-pcint.c
index 1ba1c15..d362633 100644
--- a/spaghetti-monster/fsm-pcint.c
+++ b/spaghetti-monster/fsm-pcint.c
@@ -66,7 +66,11 @@ inline void PCINT_off() {
//void button_change_interrupt() {
#if (ATTINY == 25) || (ATTINY == 45) || (ATTINY == 85) || (ATTINY == 1634)
//EMPTY_INTERRUPT(PCINT0_vect);
+#ifdef PCINT_vect
+ISR(PCINT_vect) {
+#else
ISR(PCINT0_vect) {
+#endif
irq_pcint = 1;
}
#else