mirror of
https://github.com/mfulz/qmk_firmware.git
synced 2025-06-24 23:55:18 +02:00
Oops - serial stream driver should return _FDEV_EOF when no data has been received, not EOF.
This commit is contained in:
parent
6ba0b860cc
commit
658234a0b0
@ -46,7 +46,7 @@ static int SerialStream_RxByte(FILE *Stream)
|
|||||||
(void)Stream;
|
(void)Stream;
|
||||||
|
|
||||||
if (!(Serial_IsCharReceived()))
|
if (!(Serial_IsCharReceived()))
|
||||||
return EOF;
|
return _FDEV_EOF;
|
||||||
|
|
||||||
return Serial_RxByte();
|
return Serial_RxByte();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user