MCUSR &= ~(1 << WDRF);\r
wdt_disable();\r
\r
- /* Disable clock division */\r
- clock_prescale_set(clock_div_1);\r
-\r
/* Hardware Initialization */\r
Serial_Init(9600, false);\r
LEDs_Init();\r
{\r
bool CurrentDTRState = (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR);\r
\r
- /* Check if the DTR line has been de-asserted - if so, start the target AVR's reset pulse */\r
+ /* Check if the DTR line has been asserted - if so, start the target AVR's reset pulse */\r
if (!(PreviousDTRState) && CurrentDTRState)\r
{\r
LEDs_SetAllLEDs(LEDMASK_BUSY);\r
\r
\r
# MCU name\r
-MCU = at90usb162\r
+MCU = atmega32u2\r
\r
\r
# Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
# does not *change* the processor frequency - it should merely be updated to\r
# reflect the processor speed set externally so that the code can use accurate\r
# software delays.\r
-F_CPU = 8000000\r
+F_CPU = 16000000\r
\r
\r
# Input clock frequency.\r