]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-dmm/protocol.h
rigol-ds: Add DS1074Z Plus and DS1104Z Plus.
[libsigrok.git] / src / hardware / brymen-dmm / protocol.h
index 3a695b4471f65ddfda9e1b898a74d153dd0289f9..7e02180ec1de3e31005150da0da185a70602f14e 100644 (file)
@@ -40,20 +40,7 @@ enum packet_len_status {
 
 /** Private, per-device-instance driver context. */
 struct dev_context {
-       /** The current sampling limit (in number of samples). */
-       uint64_t limit_samples;
-
-       /** The current sampling limit (in ms). */
-       uint64_t limit_msec;
-
-       /** Opaque pointer passed in by the frontend. */
-       void *cb_data;
-
-       /** The current number of already received samples. */
-       uint64_t num_samples;
-
-       /** Start time of acquisition session */
-       int64_t starttime;
+       struct sr_sw_limits sw_limits;
 
        uint8_t buf[DMM_BUFSIZE];
        int bufoffset;