Seperated out parts of the PrinterHost incomplete demo into a seperate Lib subdirectory.

Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
This commit is contained in:
Dean Camera committed 2009-07-13 04:46:52 +00:00
1 parent 23f3c3deee
commit a54ed0085b
14 files changed
+213 -95

No files matched your search

+2 -2
View File
@@ -243,8 +243,8 @@ ISR(USB_GEN_vect, ISR_BLOCK)
{
if (USB_CurrentMode == USB_MODE_HOST)
EVENT_USB_DeviceUnattached();
else
EVENT_USB_Disconnect();
EVENT_USB_Disconnect();
}
EVENT_USB_UIDChange();