X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Flecroy-xstream%2Fapi.c;h=cf9df601e36932d233296fe513dddc9bd4a12aee;hb=6e43c3d5318a8ff320bf6539a9efe7f0b8497e2f;hp=245c421a967484f67d5fa5292575fd53b145e72b;hpb=4d67b9d9dcfbb26f21b5092b79c10da8544e7df1;p=libsigrok.git diff --git a/src/hardware/lecroy-xstream/api.c b/src/hardware/lecroy-xstream/api.c index 245c421a..cf9df601 100644 --- a/src/hardware/lecroy-xstream/api.c +++ b/src/hardware/lecroy-xstream/api.c @@ -130,7 +130,7 @@ static void clear_helper(void *priv) static int dev_clear(const struct sr_dev_driver *di) { - return std_dev_clear(di, clear_helper); + return std_dev_clear_with_callback(di, clear_helper); } static int dev_open(struct sr_dev_inst *sdi)