mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 14:55:29 +00:00
Added new Benito project, a simple modified USB-to-Serial bridge for the programming of AVRs using the official Arduino bootloader.
This commit is contained in:
@@ -75,8 +75,7 @@ int main(void)
|
||||
{
|
||||
CheckJoystickMovement();
|
||||
|
||||
uint16_t BytesToDiscard = CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface);
|
||||
while (BytesToDiscard--)
|
||||
while (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
|
||||
CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
|
||||
|
||||
CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
|
||||
|
||||
Reference in New Issue
Block a user