struct dev_context {
const struct dso_profile *profile;
- void *cb_data;
uint64_t limit_frames;
uint64_t num_frames;
GSList *enabled_channels;
/* Oscilloscope settings. */
int timebase;
- gboolean ch1_enabled;
- gboolean ch2_enabled;
+ gboolean ch_enabled[2];
int voltage[2];
int coupling[2];
// voltage offset (vertical position)