From de84b3d5fb9668bcdde8e17b8a2aadb5d9f4f9cd Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 30 Nov 2014 12:26:45 +0100 Subject: [PATCH] NO USB Update --- .../HoodLoader2_NoUSB_Blink/HoodLoader2_NoUSB_Blink.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/HoodLoader2/HoodLoader2_NoUSB_Blink/HoodLoader2_NoUSB_Blink.ino b/examples/HoodLoader2/HoodLoader2_NoUSB_Blink/HoodLoader2_NoUSB_Blink.ino index 8874a1d..4f5fb1a 100644 --- a/examples/HoodLoader2/HoodLoader2_NoUSB_Blink/HoodLoader2_NoUSB_Blink.ino +++ b/examples/HoodLoader2/HoodLoader2_NoUSB_Blink/HoodLoader2_NoUSB_Blink.ino @@ -13,12 +13,14 @@ Keep in mind that the logic is inverted then! LOW=HIGH and vice versa. */ +#ifndef USBCON // workaround for undefined USBCON has to be placed in every sketch // otherwise the timings wont work correctly ISR(USB_GEN_vect) { UDINT = 0; } +#endif void setup() { TX_RX_LED_INIT;