]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/victor-dmm/protocol.h
drivers: Drop unneeded or duplicate comments.
[libsigrok.git] / src / hardware / victor-dmm / protocol.h
index 8f12680314e0a1fe75aa0236eb4177b4a7687f7c..fe665e43f320c1d08a58265531fc3d579b7ee676 100644 (file)
 #define LIBSIGROK_HARDWARE_VICTOR_DMM_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "victor-dmm"
 
 #define DMM_DATA_SIZE 14
 
-/** 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;
-       gint64 end_time;
+       struct sr_sw_limits limits;
 };
 
 SR_PRIV int victor_dmm_receive_data(struct sr_dev_inst *sdi, unsigned char *buf);