diff options
-rw-r--r-- | LUFA/Drivers/Peripheral/SerialStream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Peripheral/SerialStream.c b/LUFA/Drivers/Peripheral/SerialStream.c index 4ae0a7f16..c23d4e16a 100644 --- a/LUFA/Drivers/Peripheral/SerialStream.c +++ b/LUFA/Drivers/Peripheral/SerialStream.c @@ -46,7 +46,7 @@ static int SerialStream_RxByte(FILE *Stream) (void)Stream;
if (!(Serial_IsCharReceived()))
- return EOF;
+ return _FDEV_EOF;
return Serial_RxByte();
}
|