From 5e146c415d4b3e9006e21a94428a86320316aaf2 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Thu, 14 Jul 2016 18:22:41 +0200 Subject: [AVR][USB] fix IRQ flags clearing --- cores/arduino/USBCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index 44dce72..6c8ae63 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -733,7 +733,7 @@ static inline void USB_ClockEnable() ISR(USB_GEN_vect) { u8 udint = UDINT; - UDINT = UDINT &= ~((1<