From b3916147a505681a9c9612bbc2261c281d57b576 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Fri, 29 Nov 2013 01:40:50 +0000 Subject: [PATCH] rigol-ds: Fix duplicated "LA" probe group. --- hardware/rigol-ds/api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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++) {