imabot2 / serialib

Serial library for Linux & Windows
MIT License
195 stars 45 forks source link

Possible typo line 810 in serialib.cpp #27

Closed elscan closed 6 months ago

elscan commented 1 year ago

I could be wring here, but I think in serialib.cpp, in serialib::setRTS() , line 810 should have - currentStateRTS = true - rather than - currentStateRTS = false -. At the moment, the - currentStateRTS = false - appears in both serialib::setRTS() and serialib::clearRTS() .

I downloaded from Lulu's blog rather than from GitHub

Anyway, thank you so much for putting this together.

imabot2 commented 6 months ago

Thank you for your feedback. It's fixed. https://github.com/imabot2/serialib/commit/071222771afb33a2acddb2a5d9d9c8d39d4b01f3