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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user