X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Ftondaj-sl-814%2Fprotocol.h;h=29940d722e5e11703928753b22cb9dc8339eb240;hb=caeb8d7a9d2d5a2497692a23caf066f33f7a34c3;hp=77c6ca08fec8d24246bde7b32700fba3784275ce;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/tondaj-sl-814/protocol.h b/src/hardware/tondaj-sl-814/protocol.h index 77c6ca08..29940d72 100644 --- a/src/hardware/tondaj-sl-814/protocol.h +++ b/src/hardware/tondaj-sl-814/protocol.h @@ -29,18 +29,7 @@ /** 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; - + struct sr_sw_limits limits; int state; uint8_t buf[4];