X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ftondaj-sl-814%2Fprotocol.h;h=2ab69b658058c8bbbdba0816cce738ec092c665e;hb=acac8fc3500bc1f1e9e43c1508638488d91b2f86;hp=f7877db7957610a4bb1c73ac043fac34d122a52f;hpb=aa2af32432b3410421a89303ef48cc990ff39db9;p=libsigrok.git diff --git a/hardware/tondaj-sl-814/protocol.h b/hardware/tondaj-sl-814/protocol.h index f7877db7..2ab69b65 100644 --- a/hardware/tondaj-sl-814/protocol.h +++ b/hardware/tondaj-sl-814/protocol.h @@ -47,6 +47,13 @@ struct dev_context { /** The current number of already received samples. */ uint64_t num_samples; + + struct sr_serial_dev_inst *serial; + + int state; + + uint8_t buf[4]; + uint8_t buflen; }; SR_PRIV int tondaj_sl_814_receive_data(int fd, int revents, void *cb_data);