From: Joel Holdsworth Date: Mon, 12 Jun 2017 23:08:55 +0000 (-0600) Subject: dslogic: Renamed D0-16 channels to 0-16 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=84f6d40a110dd195b30bb7f96e923a3f0d7a6d81;p=libsigrok.git dslogic: Renamed D0-16 channels to 0-16 --- diff --git a/src/hardware/dslogic/api.c b/src/hardware/dslogic/api.c index a47f3fe7..8552de89 100644 --- a/src/hardware/dslogic/api.c +++ b/src/hardware/dslogic/api.c @@ -244,7 +244,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) cg = g_malloc0(sizeof(struct sr_channel_group)); cg->name = g_strdup("Logic"); 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, TRUE, channel_name); cg->channels = g_slist_append(cg->channels, ch);