X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fappa-55ii%2Fprotocol.h;h=eeae8e1ad4c4ce3e124095a4c68809d6c070cfef;hb=7dcaddd3f0df3a87dae252eb1f64f7b0e3997b8f;hp=23b59b95733fd466c0bf9c6a8092ff308fcf0ccf;hpb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;p=libsigrok.git diff --git a/src/hardware/appa-55ii/protocol.h b/src/hardware/appa-55ii/protocol.h index 23b59b95..eeae8e1a 100644 --- a/src/hardware/appa-55ii/protocol.h +++ b/src/hardware/appa-55ii/protocol.h @@ -39,14 +39,9 @@ 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 */ - /* 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]; unsigned int buf_len;