X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2Flib.c;h=fa823c7aca8985680aa36704951a77fd89ea6806;hb=3f239f0803b9fbc073dd7abe9fc7b2a0c606fbb6;hp=b3dc819090d094a22059ef472b39214197873f49;hpb=56d0d24535700fb53e47a25ad5c73d34697695fa;p=libsigrok.git diff --git a/tests/lib.c b/tests/lib.c index b3dc8190..fa823c7a 100644 --- a/tests/lib.c +++ b/tests/lib.c @@ -220,7 +220,7 @@ GArray *srtest_get_enabled_logic_probes(const struct sr_dev_inst *sdi) probes = g_array_new(FALSE, FALSE, sizeof(int)); for (l = sdi->probes; l; l = l->next) { probe = l->data; - if (probe->type != SR_PROBE_LOGIC) + if (probe->type != SR_CHANNEL_LOGIC) continue; if (probe->enabled != TRUE) continue;