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:
Dean Camera committed 2009-07-23 10:39:10 +00:00
1 parent 5dbfdaa17d
commit a6e85d6ed8
16 files changed
+3045 -6

No files matched your search

+1 -2
View File
@@ -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);