X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmotech-lps-30x%2Fapi.c;h=46407cc5f01cd95b498bad0eb744fd9d4a385cd9;hb=7d0f52f7e5cb16d204490ca4006983237bf3df7d;hp=af3ee4f0aecbe504943b9aafb215c6ddc3395769;hpb=e4924d752b3a2e08d0ab90b0eb872c569c4c68c9;p=libsigrok.git diff --git a/src/hardware/motech-lps-30x/api.c b/src/hardware/motech-lps-30x/api.c index af3ee4f0..46407cc5 100644 --- a/src/hardware/motech-lps-30x/api.c +++ b/src/hardware/motech-lps-30x/api.c @@ -441,7 +441,7 @@ static GSList *do_scan(lps_modelid modelid, struct sr_dev_driver *drv, GSList *o devc->channel_status[cnt].info = g_slist_append(NULL, ch); cg = g_malloc(sizeof(struct sr_channel_group)); - snprintf(channel, sizeof(channel), "CG%d", cnt+1); + snprintf(channel, sizeof(channel), "CG%d", cnt + 1); cg->name = g_strdup(channel); cg->priv = NULL; cg->channels = g_slist_append(NULL, ch);