X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcolead-slm%2Fprotocol.c;h=b577f236c0ac85de0ba475a9338660ba63379b78;hb=95c1fe62f77d347bf173b1236c38a9043efabd2b;hp=d5c75b3c01db675d9b811bec1ee1b7127cb7be06;hpb=dcb6fcbb7b3b0c9a3fe56a1be3cc1c9e45ebd03c;p=libsigrok.git diff --git a/src/hardware/colead-slm/protocol.c b/src/hardware/colead-slm/protocol.c index d5c75b3c..b577f236 100644 --- a/src/hardware/colead-slm/protocol.c +++ b/src/hardware/colead-slm/protocol.c @@ -138,7 +138,7 @@ static void process_packet(const struct sr_dev_inst *sdi) case 0x9: /* Mean over a time period between 11 seconds and 24 hours. * Which is so silly that there's no point in expressing - * either this or the previous case. */ + * either this or the previous case. */ analog.meaning->mqflags |= SR_MQFLAG_SPL_LAT \ | SR_MQFLAG_SPL_FREQ_WEIGHT_A \ | SR_MQFLAG_SPL_TIME_WEIGHT_F; @@ -177,7 +177,7 @@ static void process_packet(const struct sr_dev_inst *sdi) sr_sw_limits_update_samples_read(&devc->limits, 1); if (sr_sw_limits_check(&devc->limits)) - sdi->driver->dev_acquisition_stop((struct sr_dev_inst *)sdi); + sr_dev_acquisition_stop((struct sr_dev_inst *)sdi); } SR_PRIV int colead_slm_receive_data(int fd, int revents, void *cb_data)