From: Frank Stettner Date: Fri, 23 Jul 2021 09:59:03 +0000 (+0200) Subject: conrad-digi-35-cpu: Remove CH1 from device. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b96051a507100543bef235365b2ce68942d5f0d8;p=libsigrok.git conrad-digi-35-cpu: Remove CH1 from device. This device is write only and does not transmit any measurement data. Therefore a channel is not necessary. --- diff --git a/src/hardware/conrad-digi-35-cpu/api.c b/src/hardware/conrad-digi-35-cpu/api.c index 84e1779c..adb38eae 100644 --- a/src/hardware/conrad-digi-35-cpu/api.c +++ b/src/hardware/conrad-digi-35-cpu/api.c @@ -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)); }