X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcenter-3xx%2Fprotocol.h;h=a5a3df43a7da407047cf0a282baad2685ee1fe04;hb=ee1b6054d6d6a00698ddae421eae63019c452b6d;hp=acad71d4ece59ed4001d5673701ae7f0a7246bf2;hpb=2c24077466a299ead689c90f01f55f6d86c7386b;p=libsigrok.git diff --git a/src/hardware/center-3xx/protocol.h b/src/hardware/center-3xx/protocol.h index acad71d4..a5a3df43 100644 --- a/src/hardware/center-3xx/protocol.h +++ b/src/hardware/center-3xx/protocol.h @@ -54,19 +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; - - /** Opaque pointer passed in by the frontend. */ - void *cb_data; - - /** 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;