mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Improve VIRTSER performance (#7528)
This commit is contained in:
		
							parent
							
								
									4139de3cc9
								
							
						
					
					
						commit
						eb309be6f0
					
				| @ -869,7 +869,7 @@ void virtser_recv(uint8_t c) { | ||||
| void virtser_task(void) { | ||||
|     uint16_t count = CDC_Device_BytesReceived(&cdc_device); | ||||
|     uint8_t  ch; | ||||
|     if (count) { | ||||
|     for (; count; --count) { | ||||
|         ch = CDC_Device_ReceiveByte(&cdc_device); | ||||
|         virtser_recv(ch); | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 xyzz
						xyzz