X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsaleae-logic16%2Fprotocol.h;fp=hardware%2Fsaleae-logic16%2Fprotocol.h;h=0551712f1bdafab7ac0d4c2064ca7501e99fb675;hb=f6a21fa50c3276eab4aacf61cae4ecfb16a98e73;hp=a3ae1f82146e2d6372c685ff88d90d9ce229781a;hpb=6383365795b8f9a3408315f8726fa75fa25e19d1;p=libsigrok.git diff --git a/hardware/saleae-logic16/protocol.h b/hardware/saleae-logic16/protocol.h index a3ae1f82..0551712f 100644 --- a/hardware/saleae-logic16/protocol.h +++ b/hardware/saleae-logic16/protocol.h @@ -36,14 +36,8 @@ /** Private, per-device-instance driver context. */ struct dev_context { - /* Model-specific information */ - - /* Acquisition settings */ - - /* Operational state */ - - /* Temporary state across callbacks */ - + /** The currently configured samplerate of the device. */ + uint64_t cur_samplerate; }; SR_PRIV int saleae_logic16_receive_data(int fd, int revents, void *cb_data);