]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-dso/dso.h
hantek-dso: properly set encoding digits
[libsigrok.git] / src / hardware / hantek-dso / dso.h
index 78e438bd62537d0fcfb1ce99bbe2a57932c7f28e..0d7b7bf17d1b4a0a8d247e066a849174b1370ca9 100644 (file)
@@ -177,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)