]> sigrok.org Git - libsigrok.git/commit
serial: use timeout API in stream detect, obsoletes bitrate param
authorGerhard Sittig <redacted>
Wed, 1 May 2019 17:50:01 +0000 (19:50 +0200)
committerGerhard Sittig <redacted>
Sun, 9 Jun 2019 12:51:02 +0000 (14:51 +0200)
commitd03815a0662a905392e428612507ad4de9f2f8b1
treecac062d05cebe67669aa13a8feaeed8b5b009fd6
parentd47872480164724f348ceedc8af2f39fc2e9fce4
serial: use timeout API in stream detect, obsoletes bitrate param

The serial_stream_detect() routine needs to estimate the time which is
needed to communicate a given amount of data. Since the serial port got
opened and configured before, the serial communication parameters are
known, and callers need not redundantly specify the bit rate.
src/hardware/appa-55ii/api.c
src/hardware/kern-scale/api.c
src/hardware/serial-dmm/api.c
src/hardware/teleinfo/api.c
src/lcr/es51919.c
src/libsigrok-internal.h
src/serial.c