X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Farachnid-labs-re-load-pro%2Fprotocol.h;h=40e465577928abbd1350c6d4f70bc766b472f406;hb=0a2ffa3ebf025dd3955319ca0d0750464b8dadac;hp=94b62691c9e179f3a4cf4b259585db360d7b671d;hpb=8501448cfe508de842c0e2206232a7a832837294;p=libsigrok.git diff --git a/src/hardware/arachnid-labs-re-load-pro/protocol.h b/src/hardware/arachnid-labs-re-load-pro/protocol.h index 94b62691..40e46557 100644 --- a/src/hardware/arachnid-labs-re-load-pro/protocol.h +++ b/src/hardware/arachnid-labs-re-load-pro/protocol.h @@ -32,13 +32,11 @@ /** Private, per-device-instance driver context. */ struct dev_context { - uint64_t limit_samples; - uint64_t limit_msec; - uint64_t num_samples; - int64_t starttime; + struct sr_sw_limits limits; uint8_t buf[RELOADPRO_BUFSIZE]; int buflen; gboolean otp_active; + gboolean uvc_active; }; SR_PRIV int reloadpro_set_current_limit(const struct sr_dev_inst *sdi,