]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/tondaj-sl-814/protocol.h
hantek-dso: File naming consistency changes.
[libsigrok.git] / src / hardware / tondaj-sl-814 / protocol.h
index 027b66dfddce61b60cb3eaee7f58dc2217bbb4ee..29940d722e5e11703928753b22cb9dc8339eb240 100644 (file)
 #define LIBSIGROK_HARDWARE_TONDAJ_SL_814_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "tondaj-sl-814"
 
 /** 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;
-
+       struct sr_sw_limits limits;
        int state;
 
        uint8_t buf[4];