]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/agilent-dmm/agilent-dmm.h
agilent-dmm: Use software limits helpers
[libsigrok.git] / src / hardware / agilent-dmm / agilent-dmm.h
index 77a4a3dc577d908fe84950cffd4f603e5c7da858..52c991de198f71310f8e473bea23d6cb1e30ff7c 100644 (file)
@@ -52,14 +52,9 @@ struct agdmm_profile {
 /* Private, per-device-instance driver context. */
 struct dev_context {
        const struct agdmm_profile *profile;
-       uint64_t limit_samples;
-       uint64_t limit_msec;
-
-       /* Opaque pointer passed in by the frontend. */
-       void *cb_data;
+       struct sr_sw_limits limits;
 
        /* Runtime. */
-       uint64_t num_samples;
        int64_t jobqueue[8];
        unsigned char buf[AGDMM_BUFSIZE];
        int buflen;