]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-6xxx/protocol.h
hantek-6xxx: only show DC coupling for the Hantek device
[libsigrok.git] / src / hardware / hantek-6xxx / protocol.h
index 530bd67dcc068b034b957944e34da407e9480b48..0c54ec92cf4a2e2583a4644fd68edef331ebd615 100644 (file)
@@ -97,6 +97,8 @@ struct hantek_6xxx_profile {
        const char *vendor;
        const char *model;
        const char *firmware;
+       const char **coupling_vals;
+       uint8_t coupling_tab_size;
 };
 
 struct dev_context {
@@ -123,6 +125,8 @@ struct dev_context {
        gboolean ch_enabled[NUM_CHANNELS];
        int voltage[NUM_CHANNELS];
        int coupling[NUM_CHANNELS];
+       const char **coupling_vals;
+       uint8_t coupling_tab_size;
        uint64_t samplerate;
 
        uint64_t limit_msec;