]> sigrok.org Git - libsigrok.git/commitdiff
hantek-6xxx: Fix for channel coupling not updating on changing
authorwaka <redacted>
Fri, 17 Jul 2020 20:28:06 +0000 (22:28 +0200)
committerSoeren Apel <redacted>
Sun, 21 Feb 2021 22:20:22 +0000 (23:20 +0100)
Presumed regression related to fix for bug #836

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;