X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fvictor-dmm%2Fprotocol.h;h=fe665e43f320c1d08a58265531fc3d579b7ee676;hb=e150d5504670c788527362864a7df1ce2cc53edd;hp=38fd5241a10aee3443f602ea4a07a5b0fa607ce3;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/victor-dmm/protocol.h b/src/hardware/victor-dmm/protocol.h index 38fd5241..fe665e43 100644 --- a/src/hardware/victor-dmm/protocol.h +++ b/src/hardware/victor-dmm/protocol.h @@ -28,20 +28,8 @@ #define DMM_DATA_SIZE 14 -/** 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; - gint64 end_time; + struct sr_sw_limits limits; }; SR_PRIV int victor_dmm_receive_data(struct sr_dev_inst *sdi, unsigned char *buf);