X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-dmm%2Fprotocol.h;h=7e02180ec1de3e31005150da0da185a70602f14e;hb=7dcaddd3f0df3a87dae252eb1f64f7b0e3997b8f;hp=3a695b4471f65ddfda9e1b898a74d153dd0289f9;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/brymen-dmm/protocol.h b/src/hardware/brymen-dmm/protocol.h index 3a695b44..7e02180e 100644 --- a/src/hardware/brymen-dmm/protocol.h +++ b/src/hardware/brymen-dmm/protocol.h @@ -40,20 +40,7 @@ enum packet_len_status { /** 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; - - /** Start time of acquisition session */ - int64_t starttime; + struct sr_sw_limits sw_limits; uint8_t buf[DMM_BUFSIZE]; int bufoffset;