diff options
| author | Selene ToyKeeper | 2020-04-26 22:03:22 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-04-26 22:03:22 -0600 |
| commit | d4cdfd20e21a332aa6d191955998ee460f243c0d (patch) | |
| tree | d79dc759421112eefc05401828efa21c7de11176 /spaghetti-monster/fsm-pcint.c | |
| parent | fixed eeprom corruption after turning boost chip on/off (diff) | |
| parent | added tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,... (diff) | |
| download | anduril-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.c | 4 |
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 |
