]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/tondaj-sl-814/protocol.h
Fix a few "variable set but not used" compiler warnings.
[libsigrok.git] / src / hardware / tondaj-sl-814 / protocol.h
index 27174a2fef62b36824ece3d1a10d53ea0a6b6425..29940d722e5e11703928753b22cb9dc8339eb240 100644 (file)
 
 /** 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;
-
-       /** The current number of already received samples. */
-       uint64_t num_samples;
-
+       struct sr_sw_limits limits;
        int state;
 
        uint8_t buf[4];