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:
		
							parent
							
								
									51910b4505
								
							
						
					
					
						commit
						d3484e6bdd
					
				
					 3 changed files with 16 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dean Camera
						Dean Camera