bugst / go-serial

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

Added ability to just set or unset break condition #169

Open james-portman opened 1 year ago

james-portman commented 1 year 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