]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-bm86x/protocol.h
agilent-dmm: File naming consistency changes.
[libsigrok.git] / src / hardware / brymen-bm86x / protocol.h
index 57af1552217dbdc79cff2d41f224991994f96bda..4cba7674b7de5ac1a3fa2d4cbc556713d7b85bca 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "brymen-bm86x"
 /** Private, per-device-instance driver context. */
 struct dev_context {
        /* Acquisition settings */
-       uint64_t limit_samples;    /**< The sampling limit (in number of samples).*/
-       uint64_t limit_msec;       /**< The time limit (in milliseconds). */
+       struct sr_sw_limits sw_limits;
 
        /* Operational state */
        int detached_kernel_driver;/**< Whether kernel driver was detached or not */
-       uint64_t num_samples;      /**< The number of already received samples. */
-       int64_t start_time;        /**< The time at which sampling started. */
 
        /* Temporary state across callbacks */
        int interrupt_pending;