]> sigrok.org Git - libsigrok.git/commitdiff
ols: Don't close serial port after acquisition is done
authorBert Vermeulen <redacted>
Mon, 29 Apr 2013 10:39:26 +0000 (12:39 +0200)
committerBert Vermeulen <redacted>
Mon, 29 Apr 2013 10:39:26 +0000 (12:39 +0200)
hardware/openbench-logic-sniffer/protocol.c

index 45e2058518103d8891bbb089aa0aa2d9c9d83f8d..43f9f45cdb89a03920519822dc27ffcf67233601 100644 (file)
@@ -508,7 +508,6 @@ SR_PRIV int ols_receive_data(int fd, int revents, void *cb_data)
 
                serial_flush(serial);
                abort_acquisition(sdi);
-               serial_close(serial);
        }
 
        return TRUE;