X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fserial-dmm%2Fprotocol.h;h=8c21f9d975847dcce16cde3eb5866cef45b70edb;hp=da6742c35b6732f776eea17a66b5ca4e6b872f1c;hb=9f51c463d1bfd182ddf8ae1c5bc83377ef93d2bc;hpb=37dbffd15d37ee101d93fcfcf31cdefa1cacb8d6 diff --git a/src/hardware/serial-dmm/protocol.h b/src/hardware/serial-dmm/protocol.h index da6742c3..8c21f9d9 100644 --- a/src/hardware/serial-dmm/protocol.h +++ b/src/hardware/serial-dmm/protocol.h @@ -58,17 +58,7 @@ struct dmm_info { /** Private, per-device-instance driver context. */ struct dev_context { - /** The current sampling limit (in number of samples). */ - uint64_t limit_samples; - - /** The time limit (in milliseconds). */ - uint64_t limit_msec; - - /** The current number of already received samples. */ - uint64_t num_samples; - - /** The starting time of current sampling run. */ - int64_t starttime; + struct sr_sw_limits limits; uint8_t buf[DMM_BUFSIZE]; int bufoffset;