]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-dmm/protocol.h
drivers: Drop unneeded or duplicate comments.
[libsigrok.git] / src / hardware / brymen-dmm / protocol.h
index 3a695b4471f65ddfda9e1b898a74d153dd0289f9..d5090ee63b3783524d378ce8b523a68fd0c708a7 100644 (file)
@@ -38,22 +38,8 @@ enum packet_len_status {
        PACKET_INVALID_HEADER,
 };
 
-/** 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;