Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ static int SerialStream_RxByte(FILE *Stream) ...@@ -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();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment