Skip to content
Snippets Groups Projects
Commit 37c601db authored by Dean Camera's avatar Dean Camera
Browse files

Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was...

Fix typo in DualVirtualSerial.c due to the changed CDC Device APIs that was preventing the demo from being compiled.
parent 24e621a8
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ int main(void) ...@@ -104,7 +104,7 @@ int main(void)
CDC_Device_ReceiveByte(&VirtualSerial1_CDC_Interface); CDC_Device_ReceiveByte(&VirtualSerial1_CDC_Interface);
/* Echo all received data on the second 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)) if (!(ReceivedByte < 0))
CDC_Device_SendByte(&VirtualSerial2_CDC_Interface, (uint8_t)ReceivedByte); CDC_Device_SendByte(&VirtualSerial2_CDC_Interface, (uint8_t)ReceivedByte);
......
...@@ -41,7 +41,8 @@ ...@@ -41,7 +41,8 @@
* - Internal USB driver source files renamed and moved to ease future possible architecture ports * - Internal USB driver source files renamed and moved to ease future possible architecture ports
* - All internal pseudo-function macros have been converted to true inline functions for type-safety and readability * - All internal pseudo-function macros have been converted to true inline functions for type-safety and readability
* - Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED * - Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED
* - Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value * - Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by the function returning a
* negative value (thanks to Andreas Paulin)
* - Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer * - Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer
* *
* <b>Fixed:</b> * <b>Fixed:</b>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment