X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Farachnid-labs-re-load-pro%2Fprotocol.h;h=8307053b27b2198d3f6409440b630d01540b4751;hb=276d7b18bbe71d061544c2d2989330b38ce86df3;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..8307053b 100644 --- a/src/hardware/arachnid-labs-re-load-pro/protocol.h +++ b/src/hardware/arachnid-labs-re-load-pro/protocol.h @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef LIBSIGROK_HARDWARE_ARACHNID_LABS_RE_LOAD_PRO_PROTOCOL_H @@ -32,13 +31,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,