eblot / pyftdi

FTDI device driver written in pure Python
Other
509 stars 212 forks source link

Timeout behaviour of read method not compatible with pyserial #360

Open mazzmann opened 1 year ago

mazzmann commented 1 year ago

FtdiSerial class is said to be compatible with pyserial. Comment in read method says: "If a timeout is set it may return less characters as requested" So the following needs to be removed or at least deactivable:

    if buf:
        break
eblot commented 1 year ago

No sure to get it: can you elaborate?