uint8_t ReceivedByte = UDR1;\r
\r
/* Only store received characters if the USB interface is connected */\r
- if ((USB_DeviceState != DEVICE_STATE_Configured) && LineEncoding.BaudRateBPS)\r
+ if ((USB_DeviceState == DEVICE_STATE_Configured) && LineEncoding.BaudRateBPS)\r
Buffer_StoreElement(&Tx_Buffer, ReceivedByte);\r
}\r
\r
* - Fix allowable F_CPU values comment in project makefiles to more accurately reflect the allowable values on the USB AVRs\r
* - Fixed DFU and CDC class bootloaders on the series 2 USB AVRs, corrected invalid signatures, added support for the new\r
* ATMEGAxxx2 series 2 variant AVRs to the DFU bootloader\r
+ * - Fixed Low Level USBtoSerial demo not storing received characters (thanks to Michael from DirectAid.ca)\r
*\r
*\r
* \section Sec_ChangeLog090810 Version 090810\r