You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Read characters from pollserial interface
2.
3.
What is the expected output? What do you see instead?
Every 64th character read is a random character that is not present in the data
stream.
What version of the product are you using? On what operating system?
Beta 1
Please provide any additional information below.
The read() method simply doesn't roll back to the beginning of the buffer when
it should. It reads one character too far.
Line 119 in pollserial.c is:
if (rxbuffer.tail == BUFFER_SIZE)
but I believe it should be:
if (rxbuffer.tail == (BUFFER_SIZE-1))
Original issue reported on code.google.com by nootropi...@gmail.com on 21 Apr 2011 at 6:03
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
nootropi...@gmail.com
on 21 Apr 2011 at 6:03The text was updated successfully, but these errors were encountered: