uni tests: Use sr_dev_inst_channels_get() to fix the build.

This commit is contained in:
Uwe Hermann 2014-11-11 21:28:16 +01:00
parent 80fe524740
commit 924866d48d
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ GArray *srtest_get_enabled_logic_channels(const struct sr_dev_inst *sdi)
GSList *l;
channels = g_array_new(FALSE, FALSE, sizeof(int));
for (l = sdi->channels; l; l = l->next) {
for (l = sr_dev_inst_channels_get(sdi); l; l = l->next) {
ch = l->data;
if (ch->type != SR_CHANNEL_LOGIC)
continue;