X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fteleinfo%2Fapi.c;h=3de4456ba6687b16def01f928078b6650408f219;hb=3f5473dde2044130f8cb405e2a3ebb43c226a474;hp=71a14106fcf4f1b17c718a06ab041bc88c7aa5bf;hpb=dd7a72ea697a172032f5473b0ddff5e8d47222f4;p=libsigrok.git diff --git a/src/hardware/teleinfo/api.c b/src/hardware/teleinfo/api.c index 71a14106..3de4456b 100644 --- a/src/hardware/teleinfo/api.c +++ b/src/hardware/teleinfo/api.c @@ -79,7 +79,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, len, - teleinfo_packet_valid, 3000, 1200) != SR_OK) + teleinfo_packet_valid, 3000) != SR_OK) goto scan_cleanup; sr_info("Found device on port %s.", conn);