rigol-ds: Fix duplicated "LA" probe group.
This commit is contained in:
parent
ae67644fe5
commit
b3916147a5
|
@ -309,10 +309,10 @@ static int probe_port(const char *port, GSList **devices)
|
||||||
sdi->probes = g_slist_append(sdi->probes, probe);
|
sdi->probes = g_slist_append(sdi->probes, probe);
|
||||||
devc->digital_group.probes = g_slist_append(
|
devc->digital_group.probes = g_slist_append(
|
||||||
devc->digital_group.probes, probe);
|
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++) {
|
for (i = 0; i < NUM_TIMEBASE; i++) {
|
||||||
|
|
Loading…
Reference in New Issue