Commit 658234a0 authored by Dean Camera's avatar Dean Camera
Browse files

Oops - serial stream driver should return _FDEV_EOF when no data has been received, not EOF.

parent 6ba0b860
......@@ -46,7 +46,7 @@ static int SerialStream_RxByte(FILE *Stream)
(void)Stream;
if (!(Serial_IsCharReceived()))
return EOF;
return _FDEV_EOF;
return Serial_RxByte();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment