]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/protocol.c
Route sr_source_remove for all serial devices through a wrapper.
[libsigrok.git] / hardware / link-mso19 / protocol.c
index 19840efb8aa95cf96c9514abb5780c89bb522d61..fbb50054ab24f8194d6989985677212eb9184377 100644 (file)
@@ -294,7 +294,7 @@ SR_PRIV void stop_acquisition(const struct sr_dev_inst *sdi)
        struct dev_context *devc;
 
        devc = sdi->priv;
-       sr_source_remove(devc->serial->fd);
+       serial_source_remove(devc->serial);
 
        /* Terminate session */
        packet.type = SR_DF_END;