From 58fc44207e5f66973639be39a81292d03942a6d3 Mon Sep 17 00:00:00 2001 From: Manuel Reimer Date: Mon, 28 Jan 2019 22:22:05 +0100 Subject: [PATCH 1/2] Interrupt ordering for 32u2 and 16u2 MCU --- cores/arduino/WInterrupts.c | 71 ++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index ac72dda44..a6e8ce171 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< Date: Tue, 29 Jan 2019 19:38:00 +0100 Subject: [PATCH 2/2] Added missing chip variants --- cores/arduino/WInterrupts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index a6e8ce171..38ea15800 100644 --- a/cores/arduino/WInterrupts.c +++ b/cores/arduino/WInterrupts.c @@ -102,7 +102,7 @@ void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) { EICRB = (EICRB & ~((1<