X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fdso.h;h=0d7b7bf17d1b4a0a8d247e066a849174b1370ca9;hb=cb4b368f17f03d03075a25b2eee1045023b973b3;hp=44cced48400605bad020554ade3fd3e950ab764e;hpb=2c24077466a299ead689c90f01f55f6d86c7386b;p=libsigrok.git diff --git a/src/hardware/hantek-dso/dso.h b/src/hardware/hantek-dso/dso.h index 44cced48..0d7b7bf1 100644 --- a/src/hardware/hantek-dso/dso.h +++ b/src/hardware/hantek-dso/dso.h @@ -162,7 +162,6 @@ struct dso_profile { struct dev_context { const struct dso_profile *profile; - void *cb_data; uint64_t limit_frames; uint64_t num_frames; GSList *enabled_channels; @@ -178,8 +177,7 @@ struct dev_context { /* Oscilloscope settings. */ int timebase; - gboolean ch1_enabled; - gboolean ch2_enabled; + gboolean ch_enabled[2]; int voltage[2]; int coupling[2]; // voltage offset (vertical position)