Ensure that the USB_DeviceState variable is properly set upon wakeup events, to the Addressed or Configured state as needed.

Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board.

Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range.
This commit is contained in:
Dean Camera committed 2009-07-23 08:00:12 +00:00
1 parent 7a5d045987
commit 5dbfdaa17d
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ ISR(USB_GEN_vect, ISR_BLOCK)
USB_DeviceState = DEVICE_STATE_Powered;
EVENT_USB_Connect();
#else
USB_DeviceState = DEVICE_STATE_Configured;
USB_DeviceState = (USB_ConfigurationNumber) ? DEVICE_STATE_Configured : DEVICE_STATE_Addressed;
EVENT_USB_WakeUp();
#endif
}