From: Martin Ling Date: Fri, 29 Nov 2013 01:40:50 +0000 (+0000) Subject: rigol-ds: Fix duplicated "LA" probe group. X-Git-Tag: libsigrok-0.3.0~520 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b3916147a505681a9c9612bbc2261c281d57b576;p=libsigrok.git rigol-ds: Fix duplicated "LA" probe group. --- diff --git a/hardware/rigol-ds/api.c b/hardware/rigol-ds/api.c index 31342c23..8047b686 100644 --- a/hardware/rigol-ds/api.c +++ b/hardware/rigol-ds/api.c @@ -309,10 +309,10 @@ static int probe_port(const char *port, GSList **devices) sdi->probes = g_slist_append(sdi->probes, probe); devc->digital_group.probes = g_slist_append( devc->digital_group.probes, probe); - devc->digital_group.name = "LA"; - sdi->probe_groups = g_slist_append(sdi->probe_groups, - &devc->digital_group); } + devc->digital_group.name = "LA"; + sdi->probe_groups = g_slist_append(sdi->probe_groups, + &devc->digital_group); } for (i = 0; i < NUM_TIMEBASE; i++) {