Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience.
This commit is contained in:
1 parent
904ad3abd2
commit
ceb68a0640
6 files changed
+128
-122
No files matched your search
+3
-3
@@ -113,6 +113,9 @@ EVENT_HANDLER(USB_Connect)
|
||||
|
||||
/* Indicate USB enumerating */
|
||||
UpdateStatus(Status_USBEnumerating);
|
||||
|
||||
/* Default to report protocol on connect */
|
||||
UsingReportProtocol = true;
|
||||
}
|
||||
|
||||
/** Event handler for the USB_Disconnect event. This indicates that the device is no longer connected to a host via
|
||||
@@ -141,9 +144,6 @@ EVENT_HANDLER(USB_ConfigurationChanged)
|
||||
/* Indicate USB connected and ready */
|
||||
UpdateStatus(Status_USBReady);
|
||||
|
||||
/* Default to report protocol on connect */
|
||||
UsingReportProtocol = true;
|
||||
|
||||
/* Start running mouse reporting task */
|
||||
Scheduler_SetTaskMode(USB_Mouse_Report, TASK_RUN);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user