forked from mfulz_github/qmk_firmware
Fixed Low Level USBtoSerial demo not storing received characters (thanks to Michael from DirectAid.ca).
This commit is contained in:
parent
81b618be23
commit
93b24a25df
|
@ -299,7 +299,7 @@ ISR(USART1_RX_vect, ISR_BLOCK)
|
||||||
uint8_t ReceivedByte = UDR1;
|
uint8_t ReceivedByte = UDR1;
|
||||||
|
|
||||||
/* Only store received characters if the USB interface is connected */
|
/* Only store received characters if the USB interface is connected */
|
||||||
if ((USB_DeviceState != DEVICE_STATE_Configured) && LineEncoding.BaudRateBPS)
|
if ((USB_DeviceState == DEVICE_STATE_Configured) && LineEncoding.BaudRateBPS)
|
||||||
Buffer_StoreElement(&Tx_Buffer, ReceivedByte);
|
Buffer_StoreElement(&Tx_Buffer, ReceivedByte);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
* - Fix allowable F_CPU values comment in project makefiles to more accurately reflect the allowable values on the USB AVRs
|
* - Fix allowable F_CPU values comment in project makefiles to more accurately reflect the allowable values on the USB AVRs
|
||||||
* - Fixed DFU and CDC class bootloaders on the series 2 USB AVRs, corrected invalid signatures, added support for the new
|
* - Fixed DFU and CDC class bootloaders on the series 2 USB AVRs, corrected invalid signatures, added support for the new
|
||||||
* ATMEGAxxx2 series 2 variant AVRs to the DFU bootloader
|
* ATMEGAxxx2 series 2 variant AVRs to the DFU bootloader
|
||||||
|
* - Fixed Low Level USBtoSerial demo not storing received characters (thanks to Michael from DirectAid.ca)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* \section Sec_ChangeLog090810 Version 090810
|
* \section Sec_ChangeLog090810 Version 090810
|
||||||
|
|
Loading…
Reference in New Issue