]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-dmm/protocol.h
Match std_init() parameter order to the driver init() callback
[libsigrok.git] / src / hardware / uni-t-dmm / protocol.h
index f8fdbb5ad6c111b37282f2f0e2e1df5ec33551c0..9ec354fb7d5a0dd8d153699cf546bdf8225dcf87 100644 (file)
@@ -48,19 +48,7 @@ struct dmm_info {
 
 /** 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;
-
-       int64_t starttime;
+       struct sr_sw_limits limits;
 
        gboolean first_run;