libsigrok/src/scpi
Wolfram Sang cb828f1b3e serial: flush() after open() in the serial core.
Quite some drivers flush the serial port after opening it. And quite
some don't although they should. Factor this out, so serial_open() will
always flush the port. The removal in the drivers was done with this
small coccinelle script:

@@
struct sr_serial_dev_inst *serial;
@@

        serial_open(serial, ...)
        ... when != serial
-       serial_flush(serial);

and then the results and the unmatched findings of serial_flush() were
audited.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-07-26 16:06:42 +02:00
..
scpi.c hameg-hmo: Avoid getting stuck upon SCPI timeouts. 2019-07-26 00:11:07 +02:00
scpi_libgpib.c scpi_libgpib: Add mutex to SPoll. 2019-04-17 17:44:51 +02:00
scpi_serial.c serial: flush() after open() in the serial core. 2020-07-26 16:06:42 +02:00
scpi_tcp.c scpi: Add enum scpi_transport_layer. 2019-04-17 17:44:51 +02:00
scpi_usbtmc_libusb.c scpi_usbtmc_libusb: Retry if a Bulk-IN request starts with an empty packet 2020-06-25 00:03:24 +02:00
scpi_visa.c scpi: Add enum scpi_transport_layer. 2019-04-17 17:44:51 +02:00
scpi_vxi.c scpi: Add enum scpi_transport_layer. 2019-04-17 17:44:51 +02:00
vxi.h Don't set _POSIX_C_SOURCE for VXI/RPC related files. 2015-08-29 17:15:26 +02:00
vxi.x Reorganize project tree. 2014-07-22 18:19:29 +02:00
vxi_clnt.c Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
vxi_xdr.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00