Skip to content

USB reads sometime return garbage #78

@terrillmoore

Description

@terrillmoore

In a long USB command session, whenever you wrap around 256 characters of input, the routine to get the number of bytes available returns a wild number, and Serial.read() similarly returns a bunch of while (somewhat historical) data. I think the problem is that the byte count is wrong, and then Serial.read either returns historical data or the contents of the tx ring buffer.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions