From b407337677f8b6964a69939e0fb5a371dfb0d3e4 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 7 Mar 2012 16:21:04 +0100 Subject: [PATCH] Fix for some strange behaviours during board reset --- cores/arduino/USBCore.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index 7924078..c360d26 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -637,6 +637,12 @@ void USB_::attach() PLLCSR = 0x12; // Need 16 MHz xtal while (!(PLLCSR & (1<