From c8d6aef6d9331af1ec8dea6f78b4e43174cdb55d Mon Sep 17 00:00:00 2001 From: Manuel Reimer Date: Wed, 25 Sep 2019 10:06:30 +0200 Subject: Interrupt ordering for 32u2 and 16u2 MCU (#66) * Interrupt ordering for 32u2 and 16u2 MCU * Added missing chip variants --- cores/arduino/WInterrupts.c | 71 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) (limited to 'cores/arduino') diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index ac72dda..38ea158 100644 --- a/cores/arduino/WInterrupts.c +++ b/cores/arduino/WInterrupts.c @@ -102,6 +102,39 @@ void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) { EICRB = (EICRB & ~((1<