]> sigrok.org Git - libsigrok.git/commitdiff
conrad-digi-35-cpu: Remove CH1 from device.
authorFrank Stettner <redacted>
Fri, 23 Jul 2021 09:59:03 +0000 (11:59 +0200)
committerGerhard Sittig <redacted>
Fri, 23 Jul 2021 17:58:46 +0000 (19:58 +0200)
This device is write only and does not transmit any measurement data.
Therefore a channel is not necessary.

src/hardware/conrad-digi-35-cpu/api.c

index 84e1779c8d1df0c07c75e66d4eccbead431cc0dc..adb38eae460fae2be666d082c39e2dcf148a7384 100644 (file)
@@ -88,7 +88,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        sdi->inst_type = SR_INST_SERIAL;
        sdi->conn = serial;
        sdi->priv = devc;
-       sr_channel_new(sdi, 0, SR_CHANNEL_ANALOG, TRUE, "CH1");
 
        return std_scan_complete(di, g_slist_append(NULL, sdi));
 }