X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Frigol-ds1xx2%2Fprotocol.h;h=fa056030f4e49ee10e54338f1221c373281d1607;hb=861c447bfb020a59ac9d197c4a74a4e8ea3998bf;hp=547dfc467854dbe74401152da0b66402e14c2eb3;hpb=e0b7d23ce884f03ecb693943c5bd822879c68d65;p=libsigrok.git diff --git a/hardware/rigol-ds1xx2/protocol.h b/hardware/rigol-ds1xx2/protocol.h index 547dfc46..fa056030 100644 --- a/hardware/rigol-ds1xx2/protocol.h +++ b/hardware/rigol-ds1xx2/protocol.h @@ -37,7 +37,7 @@ /** Private, per-device-instance driver context. */ struct dev_context { - /** The current frame limit */ + /** The current frame limit. */ uint64_t limit_frames; /** The current sampling limit (in number of samples). */ @@ -61,8 +61,13 @@ struct dev_context { /** Current offset setting. */ float offset; + /** Path to USBTMC character device file. */ + char *device; + /** USBTMC character device file descriptor. */ int fd; + + GSList *enabled_probes; }; SR_PRIV int rigol_ds1xx2_receive_data(int fd, int revents, void *cb_data);