/** 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). */
/** 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);