fixed misplaced paranthesis in arm usb mouse send function (#4478)
bug was causing lots of dropped events for me.
This commit is contained in:
		
							parent
							
								
									dd7534ccca
								
							
						
					
					
						commit
						55c3214877
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -704,7 +704,7 @@ void send_mouse(report_mouse_t *report) { | ||||||
|      * every iteration - otherwise the system will remain locked, |      * every iteration - otherwise the system will remain locked, | ||||||
|      * no interrupts served, so USB not going through as well. |      * no interrupts served, so USB not going through as well. | ||||||
|      * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */ |      * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */ | ||||||
|     if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10)==MSG_TIMEOUT)) { |     if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10))==MSG_TIMEOUT) { | ||||||
|       osalSysUnlock(); |       osalSysUnlock(); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Christon DeWan
						Christon DeWan