Fix device mode for the U4 parts.
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 1 Oct 2010 11:22:24 +0000 (11:22 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 1 Oct 2010 11:22:24 +0000 (11:22 +0000)
Demos/Device/ClassDriver/VirtualSerial/makefile
LUFA/Drivers/USB/LowLevel/USBController.c

index a2e8eb3..79249ed 100644 (file)
@@ -60,7 +60,7 @@
 
 
 # MCU name
-MCU = at90usb1287
+MCU = atmega32u4
 
 
 # Target board (see library "Board Types" documentation, NONE for projects not requiring
index a542353..f6b1b12 100644 (file)
@@ -156,7 +156,7 @@ void USB_ResetInterface(void)
                #endif
        }
        
-       #if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
+       #if (defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
        USB_OTGPAD_On();
        #endif
 }