]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-6xxx/api.c
hantek-6xxx: Fix for channel coupling not updating on changing
[libsigrok.git] / src / hardware / hantek-6xxx / api.c
index 20d35a2b3aa30be70925e6a03cd4f258a13e6d4c..74499c448bf5f14947738d8e678f3e7b86095513 100644 (file)
@@ -444,6 +444,7 @@ static int config_set(uint32_t key, GVariant *data,
                                                devc->coupling_tab_size)) < 0)
                                return SR_ERR_ARG;
                        devc->coupling[ch_idx] = idx;
+                       hantek_6xxx_update_coupling(sdi);
                        break;
                default:
                        return SR_ERR_NA;