Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
658234a0
Commit
658234a0
authored
Feb 05, 2010
by
Dean Camera
Browse files
Oops - serial stream driver should return _FDEV_EOF when no data has been received, not EOF.
parent
6ba0b860
Changes
1
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/Peripheral/SerialStream.c
View file @
658234a0
...
...
@@ -46,7 +46,7 @@ static int SerialStream_RxByte(FILE *Stream)
(
void
)
Stream
;
if
(
!
(
Serial_IsCharReceived
()))
return
EOF
;
return
_FDEV_
EOF
;
return
Serial_RxByte
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment