X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcolead-slm%2Fprotocol.h;h=1849a865193300736e32bb571a0388b10eaef08f;hb=2fba14d05a9dd65fc873b59c438f62b87ab5e2d9;hp=ab878e759f2efa42bb5a80ddf029db8639629594;hpb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;p=libsigrok.git diff --git a/src/hardware/colead-slm/protocol.h b/src/hardware/colead-slm/protocol.h index ab878e75..1849a865 100644 --- a/src/hardware/colead-slm/protocol.h +++ b/src/hardware/colead-slm/protocol.h @@ -31,16 +31,9 @@ enum { COMMAND_SENT, }; -/** Private, per-device-instance driver context. */ struct dev_context { - /** The current sampling limit (in number of samples). */ - uint64_t limit_samples; + struct sr_sw_limits limits; - /** The current sampling limit (in ms). */ - uint64_t limit_msec; - - /** The current number of already received samples. */ - uint64_t num_samples; int state; char buf[10]; int buflen;