X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcolead-slm%2Fprotocol.h;h=1849a865193300736e32bb571a0388b10eaef08f;hb=5a0303474c2408038e3350f948e2014fb55861b1;hp=4cc49974a2682e608591ee3299c69e91236d386c;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/colead-slm/protocol.h b/src/hardware/colead-slm/protocol.h index 4cc49974..1849a865 100644 --- a/src/hardware/colead-slm/protocol.h +++ b/src/hardware/colead-slm/protocol.h @@ -31,19 +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; - - /** Opaque pointer passed in by the frontend. */ - void *cb_data; - - /** The current number of already received samples. */ - uint64_t num_samples; int state; char buf[10]; int buflen;