cbrake / linux-serial-test

Linux Serial Test Application
302 stars 154 forks source link

linux-serial-test.c: rs485: extend rs485 delay #24

Closed MaxKrummenacher closed 4 years ago

MaxKrummenacher commented 4 years ago

This extends the -q parameter to allow specifing a delay after and before TX. With -q specified with only the after parameter results in the same behaviour as before this change.

This addresses the remaining open point of #18.

cbrake commented 4 years ago

looks good to me.

@yegorich thoughts?

cbrake commented 4 years ago

after_delay.before_delay is a nice way to encode this option.