aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-30 04:20:41 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-30 04:20:41 +0000
commit37c601dbf6defbd7d2891b5671d19122159de2b6 (patch)
treef0766cca825025e84dce90e2896d66fbe69d9ef0 /Demos
parent24e621a8d8424721ed21ce329d2a28dbf8c35343 (diff)
downloadlufa-37c601dbf6defbd7d2891b5671d19122159de2b6.tar.gz
lufa-37c601dbf6defbd7d2891b5671d19122159de2b6.tar.bz2
lufa-37c601dbf6defbd7d2891b5671d19122159de2b6.zip
Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was preventing the demo from being compiled.
Diffstat (limited to 'Demos')
-rw-r--r--Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
index 53d7ce9fc..ffbc12c7f 100644
--- a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
+++ b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
@@ -104,7 +104,7 @@ int main(void)
CDC_Device_ReceiveByte(&VirtualSerial1_CDC_Interface);
/* Echo all received data on the second CDC interface */
- int16_t ReceivedByte; = CDC_Device_ReceiveByte(&VirtualSerial2_CDC_Interface);
+ int16_t ReceivedByte = CDC_Device_ReceiveByte(&VirtualSerial2_CDC_Interface);
if (!(ReceivedByte < 0))
CDC_Device_SendByte(&VirtualSerial2_CDC_Interface, (uint8_t)ReceivedByte);