mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-01 21:42:05 +00:00
Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF.
This commit is contained in:
parent
15f84bb8f5
commit
6ba0b860cc
@ -44,6 +44,9 @@ static int SerialStream_TxByte(char DataByte, FILE *Stream)
|
|||||||
static int SerialStream_RxByte(FILE *Stream)
|
static int SerialStream_RxByte(FILE *Stream)
|
||||||
{
|
{
|
||||||
(void)Stream;
|
(void)Stream;
|
||||||
|
|
||||||
|
if (!(Serial_IsCharReceived()))
|
||||||
|
return EOF;
|
||||||
|
|
||||||
return Serial_RxByte();
|
return Serial_RxByte();
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
* - Fixed Pipe_IsEndpointBound() not taking the endpoint's direction into account
|
* - Fixed Pipe_IsEndpointBound() not taking the endpoint's direction into account
|
||||||
* - Fixed EEPROM and FLASH ISP programming in the AVRISP project
|
* - Fixed EEPROM and FLASH ISP programming in the AVRISP project
|
||||||
* - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen)
|
* - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen)
|
||||||
|
* - Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF
|
||||||
*
|
*
|
||||||
* \section Sec_ChangeLog091223 Version 091223
|
* \section Sec_ChangeLog091223 Version 091223
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user