projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs where...
[pub/lufa.git]
/
Projects
/
Benito
/
Benito.c
diff --git
a/Projects/Benito/Benito.c
b/Projects/Benito/Benito.c
index
9e85fbd
..
26c5664
100644
(file)
--- a/
Projects/Benito/Benito.c
+++ b/
Projects/Benito/Benito.c
@@
-79,7
+79,7
@@
int main(void)
for (;;)
\r
{
\r
/* Echo bytes from the host to the target via the hardware USART */
\r
for (;;)
\r
{
\r
/* Echo bytes from the host to the target via the hardware USART */
\r
- if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
\r
+ if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface)
> 0
)
\r
{
\r
Serial_TxByte(CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface));
\r
\r
{
\r
Serial_TxByte(CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface));
\r
\r