X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffluke-dmm%2Ffluke-dmm.h;h=ecfa36cbb6948a4805db26700599811052f14691;hb=8dc423b033678508ec08d7c473d883d4b3a58178;hp=8f1571cefc56ece7c6d6f9799a54df04add5cb4a;hpb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;p=libsigrok.git diff --git a/src/hardware/fluke-dmm/fluke-dmm.h b/src/hardware/fluke-dmm/fluke-dmm.h index 8f1571ce..ecfa36cb 100644 --- a/src/hardware/fluke-dmm/fluke-dmm.h +++ b/src/hardware/fluke-dmm/fluke-dmm.h @@ -49,20 +49,18 @@ struct flukedmm_profile { /* Private, per-device-instance driver context. */ struct dev_context { const struct flukedmm_profile *profile; - uint64_t limit_samples; - uint64_t limit_msec; + struct sr_sw_limits limits; /* Runtime. */ - uint64_t num_samples; char buf[FLUKEDMM_BUFSIZE]; int buflen; int64_t cmd_sent_at; int expect_response; int meas_type; int is_relative; - int mq; - int unit; - int mqflags; + enum sr_mq mq; + enum sr_unit unit; + enum sr_mqflag mqflags; }; SR_PRIV int fluke_receive_data(int fd, int revents, void *cb_data);