Fixed GenericHID demo not starting USB and HID management tasks when not using interrupt driven modes (thanks to Carl Kjeldsen).

This commit is contained in:
Dean Camera 2009-04-09 00:00:59 +00:00
parent 51910b4505
commit d3484e6bdd
3 changed files with 16 additions and 1 deletions

View file

@ -145,7 +145,7 @@ EVENT_HANDLER(USB_Reset)
*/
EVENT_HANDLER(USB_Disconnect)
{
/* Stop running keyboard reporting and USB management tasks */
/* Stop running mouse reporting and USB management tasks */
#if !defined(INTERRUPT_DATA_ENDPOINT)
Scheduler_SetTaskMode(USB_Mouse_Report, TASK_STOP);
#endif