Fix device mode for the U4 parts.

This commit is contained in:
Dean Camera 2010-10-01 11:22:24 +00:00
parent 383d167125
commit d06febbb59
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
# MCU name
MCU = at90usb1287
MCU = atmega32u4
# Target board (see library "Board Types" documentation, NONE for projects not requiring

View 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
}