X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/864196c884ef3602aee44f1a68aceb5819a07f21..61ff4824a904d156e719ab2967b613cf095e908e:/Projects/Benito/Benito.c?ds=inline diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index 9e85fbd2f..26c566496 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -79,7 +79,7 @@ int main(void) for (;;) { /* Echo bytes from the host to the target via the hardware USART */ - if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface)) + if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface) > 0) { Serial_TxByte(CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface));