From: Uwe Hermann Date: Sun, 11 Nov 2012 18:40:14 +0000 (+0100) Subject: sigma/la8/demo: s/SR_PROBE_ANALOG/SR_PROBE_LOGIC/. X-Git-Tag: dsupstream~554 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=de6e0eca95f5d89e12b0940f2ecf59ab563cb725;p=libsigrok.git sigma/la8/demo: s/SR_PROBE_ANALOG/SR_PROBE_LOGIC/. --- diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index c014e3a1..515718c1 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -510,7 +510,7 @@ static GSList *hw_scan(GSList *options) sdi->driver = adi; for (i = 0; probe_names[i]; i++) { - if (!(probe = sr_probe_new(i, SR_PROBE_ANALOG, TRUE, + if (!(probe = sr_probe_new(i, SR_PROBE_LOGIC, TRUE, probe_names[i]))) return NULL; sdi->probes = g_slist_append(sdi->probes, probe); diff --git a/hardware/chronovu-la8/api.c b/hardware/chronovu-la8/api.c index 5fab2f1a..705a68bc 100644 --- a/hardware/chronovu-la8/api.c +++ b/hardware/chronovu-la8/api.c @@ -159,7 +159,7 @@ static GSList *hw_scan(GSList *options) sdi->priv = devc; for (i = 0; probe_names[i]; i++) { - if (!(probe = sr_probe_new(i, SR_PROBE_ANALOG, TRUE, + if (!(probe = sr_probe_new(i, SR_PROBE_LOGIC, TRUE, probe_names[i]))) return NULL; sdi->probes = g_slist_append(sdi->probes, probe); diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 8a8b2cf4..8f13b25c 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -182,7 +182,7 @@ static GSList *hw_scan(GSList *options) sdi->driver = ddi; for (i = 0; probe_names[i]; i++) { - if (!(probe = sr_probe_new(i, SR_PROBE_ANALOG, TRUE, + if (!(probe = sr_probe_new(i, SR_PROBE_LOGIC, TRUE, probe_names[i]))) return NULL; sdi->probes = g_slist_append(sdi->probes, probe);