crayzeewulf/libserial

DrainWriteBuffer() Indefinitely blocks program on Ubuntu 22.04.3.

elegresl opened this issue · 1 comments

Most of the time when I execute my program to write 10 bytes to a motor driver, the program is blocked while waiting for the write buffer to be cleared.

Sometimes I am able to get through all 10 bytes and everything is fine.

Has anyone heard of this issue? I suppose it could be OS related rather than a library problem.

This issue was resolved by inserting a delay after opening the port.