]> sigrok.org Git - libsigrok.git/blobdiff - hardware/rigol-ds1xx2/protocol.h
rigol-ds1xx2: Use ARRAY_SIZE.
[libsigrok.git] / hardware / rigol-ds1xx2 / protocol.h
index 547dfc467854dbe74401152da0b66402e14c2eb3..fa056030f4e49ee10e54338f1221c373281d1607 100644 (file)
@@ -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);