]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/appa-55ii/api.c
serial: use timeout API in stream detect, obsoletes bitrate param
[libsigrok.git] / src / hardware / appa-55ii / api.c
index ddf3fe4a11885468a041838e1ab8d01a0300c2ea..81eafdce3ff1c809c1e23a1f9d671710ed30a117 100644 (file)
@@ -83,7 +83,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
 
        /* Let's get a bit of data and see if we can find a packet. */
        if (serial_stream_detect(serial, buf, &len, 25,
-                       appa_55ii_packet_valid, 500, 9600) != SR_OK)
+                       appa_55ii_packet_valid, 500) != SR_OK)
                goto scan_cleanup;
 
        sr_info("Found device on port %s.", conn);