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:
1 parent
5dbfdaa17d
commit
a6e85d6ed8
16 files changed
+3045
-6
No files matched your search
@@ -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