40 ms·
Regardless of how bizarre it is, I've seen this in real code in embedded applications before. It's a workaround of buggy serial port drivers (flow control or bu
by segfaultbuserr 6y ago
Regardless of how bizarre it is, I've seen this in real code in embedded applications before. It's a workaround of buggy serial port drivers (flow control or buffering is probably broken): You open the port, read/write a line, close it, and open it again...
- craftinator 6y agoHah I came here to say pretty much the same thing! Recently ran into it and coding that workaround on a resource constrained system felt absolutely bonkers.
- segfaultbuserr 6y agoI already got 5 upvotes now. Looks like a real headache for many embedded developers ;-(