bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
617 stars 188 forks source link

Added ability to just set or unset break condition #169

Open james-portman opened 7 months ago

james-portman commented 7 months ago

The new functions allow simply setting or unsetting break condition.

This allows better timing control outside of this module which is needed for some of my projects.

The previous code with the time parameter is guaranteed to always take slightly longer than the actual requested break time