X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcenter-3xx%2Fprotocol.h;h=a5a3df43a7da407047cf0a282baad2685ee1fe04;hb=0150fdca549411e2d5111629c786e4e53c6208cc;hp=f6564491752c1bd259b01497e77f96367650720c;hpb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;p=libsigrok.git diff --git a/src/hardware/center-3xx/protocol.h b/src/hardware/center-3xx/protocol.h index f6564491..a5a3df43 100644 --- a/src/hardware/center-3xx/protocol.h +++ b/src/hardware/center-3xx/protocol.h @@ -54,16 +54,7 @@ extern SR_PRIV const struct center_dev_info center_devs[]; /** Private, per-device-instance driver context. */ struct dev_context { - /** The current sampling limit (in number of samples). */ - uint64_t limit_samples; - - /** The current sampling limit (in ms). */ - uint64_t limit_msec; - - /** The current number of already received samples. */ - uint64_t num_samples; - - int64_t starttime; + struct sr_sw_limits sw_limits; uint8_t buf[SERIAL_BUFSIZE]; int bufoffset;