mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-30 13:58:57 +02:00
Minor cleanups to DualCDC ClassDriver device demo for clarity.
This commit is contained in:
@@ -92,6 +92,7 @@ int main(void)
|
||||
{
|
||||
CheckJoystickMovement();
|
||||
|
||||
/* Must throw away unused bytes from the host, or it will lock up while waiting for the device */
|
||||
while (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
|
||||
CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user