goto exit_err;
/* Query and verify model string. */
- serial_flush(serial);
if (lps_cmd_reply(buf, serial, "MODEL") != SR_OK)
return NULL;
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);