Closed palazzol closed 1 year ago
getOverlappedEvent() returns all required error codes. Calling getCommState()/setCommState() every second in some applications contributes to other downstream issues.
For examples: https://github.com/bugst/go-serial/issues/60#issuecomment-625749122 https://github.com/bugst/go-serial/issues/60#issuecomment-625749122
I've included your commit in #147.
getOverlappedEvent() returns all required error codes. Calling getCommState()/setCommState() every second in some applications contributes to other downstream issues.
For examples: https://github.com/bugst/go-serial/issues/60#issuecomment-625749122 https://github.com/bugst/go-serial/issues/60#issuecomment-625749122