dslogic: Renamed D0-16 channels to 0-16
This commit is contained in:
parent
780c5e2466
commit
84f6d40a11
|
@ -244,7 +244,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
|
||||||
cg = g_malloc0(sizeof(struct sr_channel_group));
|
cg = g_malloc0(sizeof(struct sr_channel_group));
|
||||||
cg->name = g_strdup("Logic");
|
cg->name = g_strdup("Logic");
|
||||||
for (j = 0; j < 16; j++) {
|
for (j = 0; j < 16; j++) {
|
||||||
sprintf(channel_name, "D%d", j);
|
sprintf(channel_name, "%d", j);
|
||||||
ch = sr_channel_new(sdi, j, SR_CHANNEL_LOGIC,
|
ch = sr_channel_new(sdi, j, SR_CHANNEL_LOGIC,
|
||||||
TRUE, channel_name);
|
TRUE, channel_name);
|
||||||
cg->channels = g_slist_append(cg->channels, ch);
|
cg->channels = g_slist_append(cg->channels, ch);
|
||||||
|
|
Loading…
Reference in New Issue