]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/appa-55ii/protocol.h
Use driver name as the log prefix in standard functions
[libsigrok.git] / src / hardware / appa-55ii / protocol.h
index 4e8b1292ee862132cbaf9f1e31baf6d3c3d9ddf3..eeae8e1ad4c4ce3e124095a4c68809d6c070cfef 100644 (file)
@@ -39,14 +39,8 @@ enum {
 /** 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 limits;
        gboolean data_source;     /**< Whether to read live samples or memory */
-       void *session_cb_data;    /**< Opaque pointer passed in by the frontend. */
-
-       /* Operational state */
-       uint64_t num_samples;     /**< The number of already received samples. */
-       int64_t start_time;       /**< The time at which sampling started. */
 
        /* Temporary state across callbacks */
        uint8_t buf[APPA_55II_BUF_SIZE];