From: Dean Camera Date: Fri, 1 Oct 2010 11:22:24 +0000 (+0000) Subject: Fix device mode for the U4 parts. X-Git-Tag: LUFA-110528-BETA~219 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/d06febbb59f5da074e075cc2c92375d46a1b231a?ds=sidebyside Fix device mode for the U4 parts. --- diff --git a/Demos/Device/ClassDriver/VirtualSerial/makefile b/Demos/Device/ClassDriver/VirtualSerial/makefile index a2e8eb366..79249eda5 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/makefile +++ b/Demos/Device/ClassDriver/VirtualSerial/makefile @@ -60,7 +60,7 @@ # MCU name -MCU = at90usb1287 +MCU = atmega32u4 # Target board (see library "Board Types" documentation, NONE for projects not requiring diff --git a/LUFA/Drivers/USB/LowLevel/USBController.c b/LUFA/Drivers/USB/LowLevel/USBController.c index a542353eb..f6b1b125b 100644 --- a/LUFA/Drivers/USB/LowLevel/USBController.c +++ b/LUFA/Drivers/USB/LowLevel/USBController.c @@ -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 }