serialport / website

The website for the serialport project
https://serialport.io/
MIT License
37 stars 33 forks source link

Update flush docs to reflect use of PurgeComm #52

Closed GazHank closed 3 years ago

GazHank commented 3 years ago

Update to the doc for serialport flush to reflect that on Windows PurgeComm is used instead of FlushFileBuffers? (FlushFileBuffers only seems to be used for the Drain function)

https://github.com/serialport/node-serialport/blob/0461285f04b93034008cf6c22ac566d0a1a09571/packages/bindings/src/serialport_win.cpp#L936-L944

As discussed in https://github.com/serialport/node-serialport/issues/2263

Signed-off-by: Gareth Hancock gazhank@gmail.com

reconbot commented 3 years ago

beautiful 👍