]> sigrok.org Git - libsigrok.git/commitdiff
sigma/la8/demo: s/SR_PROBE_ANALOG/SR_PROBE_LOGIC/.
authorUwe Hermann <redacted>
Sun, 11 Nov 2012 18:40:14 +0000 (19:40 +0100)
committerUwe Hermann <redacted>
Sun, 11 Nov 2012 18:40:14 +0000 (19:40 +0100)
hardware/asix-sigma/asix-sigma.c
hardware/chronovu-la8/api.c
hardware/demo/demo.c

index c014e3a1647e7f743990bb0db289bf2311b5a74a..515718c14ef017ac585fb4bc7d7c5c94f7571b8c 100644 (file)
@@ -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);
index 5fab2f1abbdf342d496c2740a28af956435be54e..705a68bc54f487e9ac2e1f84a9b03252ed8a9fbc 100644 (file)
@@ -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);
index 8a8b2cf40b5044de93b6197676b605245c88223d..8f13b25c7d415ce801bdd50d7838fe5f08f39baa 100644 (file)
@@ -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);