]> sigrok.org Git - libsigrok.git/commit
serial: determine timeout from most recent set_params() values
authorGerhard Sittig <redacted>
Sun, 26 Mar 2017 15:56:36 +0000 (16:56 +0100)
committerUwe Hermann <redacted>
Sun, 2 Jun 2019 18:39:02 +0000 (20:39 +0200)
commit639c6f61c32e508e2d8e2330a7f21cb15e29c294
tree9aa6770a0cbfbb1b22cbdc49a13fc5367c51ae12
parentdca683ef9903f6b932f104fe256a8893759dafaa
serial: determine timeout from most recent set_params() values

Store the most recent successfully applied set of parameters for serial
communication. Re-use these values as a fallback to calculate timeouts,
when the underlying transport fails to provide the current settings.
src/libsigrok-internal.h
src/serial.c