X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkorad-kaxxxxp%2Fprotocol.h;h=e88360e7edcf0f10b0dc734746e766fac6a1114b;hb=45884333ff8641c86d9808b46dde9f571083c10d;hp=77c4eb6f7d229a71f58ddb155aa957e743584c07;hpb=a078d3ec527c0a8180f59086e62a8905ae79aa65;p=libsigrok.git diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 77c4eb6f..e88360e7 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -76,15 +76,10 @@ struct dev_context { const struct korad_kaxxxxp_model *model; /**< Model information. */ /* Acquisition settings */ - uint64_t limit_samples; - uint64_t limit_msec; - uint64_t num_samples; - int64_t starttime; + struct sr_sw_limits limits; int64_t req_sent_at; gboolean reply_pending; - void *cb_data; - /* Operational state */ float current; /**< Last current value [A] read from device. */ float current_max; /**< Output current set. */