]> sigrok.org Git - libsigrok.git/commitdiff
lecroy-xstream: Comment/style fixes
authorSoeren Apel <redacted>
Wed, 4 Oct 2017 17:28:14 +0000 (19:28 +0200)
committerSoeren Apel <redacted>
Thu, 2 Nov 2017 06:29:22 +0000 (07:29 +0100)
src/hardware/lecroy-xstream/api.c

index 8d4fe0b291eb775189535e9f8124083146d295cd..504dde3bd469b5c3d0e43cf25de8db7c6bf6a3bc 100644 (file)
@@ -431,27 +431,19 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi)
        g_slist_free(devc->enabled_channels);
        devc->enabled_channels = NULL;
 
-       /*
-        * Contruct the list of enabled channels. Determine the highest
-        * number of digital pods involved in the acquisition.
-        */
-
+       /* Contruct the list of enabled channels. */
        for (l = sdi->channels; l; l = l->next) {
                ch = l->data;
                if (!ch->enabled)
                        continue;
-               /* Only add a single digital channel per group (pod). */
-               devc->enabled_channels = g_slist_append(
-                       devc->enabled_channels, ch);
+
+               devc->enabled_channels = g_slist_append(devc->enabled_channels, ch);
        }
 
        if (!devc->enabled_channels)
                return SR_ERR;
 
-       /*
-        * Configure the analog channels and the
-        * corresponding digital pods.
-        */
+       /* Configure the analog channels. */
        if (setup_channels(sdi) != SR_OK) {
                sr_err("Failed to setup channel configuration!");
                ret = SR_ERR;