libsigrok/src/hardware/arachnid-labs-re-load-pro
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
..
api.c serial: flush() after open() in the serial core. 2020-07-26 16:06:42 +02:00
protocol.c Use std_session_send_df_frame_begin()/_end() where possible. 2020-04-08 23:54:25 +02:00
protocol.h arachnid-labs-re-load-pro: Get a response when in acquision mode. 2018-03-03 19:25:02 +01:00