X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcolead-slm%2Fprotocol.h;h=8b298bb7648b132bd901502a0932c7d8d2713525;hb=815685462fdab21a390b5aecc253b92753439f06;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..8b298bb7 100644 --- a/src/hardware/colead-slm/protocol.h +++ b/src/hardware/colead-slm/protocol.h @@ -33,14 +33,8 @@ enum { /** 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;