\r
/* Indicate USB enumerating */\r
UpdateStatus(Status_USBEnumerating);\r
+\r
+ /* Default to report protocol on connect */\r
+ UsingReportProtocol = true;\r
}\r
\r
/** Event handler for the USB_Disconnect event. This indicates that the device is no longer connected to a host via\r
/* Indicate USB connected and ready */\r
UpdateStatus(Status_USBReady);\r
\r
- /* Default to report protocol on connect */\r
- UsingReportProtocol = true;\r
-\r
/* Start running mouse reporting task */\r
Scheduler_SetTaskMode(USB_Mouse_Report, TASK_RUN);\r
}\r