]> sigrok.org Git - libsigrok.git/blobdiff - hardware/atten-pps3xxx/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / atten-pps3xxx / api.c
index 6dc62511dc4bed0ec9cb9ba51185e699b62101c8..e74c40de179dd3acdb9a19d6d5667ce6c7c43228 100644 (file)
@@ -167,7 +167,7 @@ static GSList *scan(GSList *options, int modelid)
        sdi->conn = serial;
        for (i = 0; i < MAX_CHANNELS; i++) {
                snprintf(channel, 10, "CH%d", i + 1);
-               ch = sr_probe_new(i, SR_PROBE_ANALOG, TRUE, channel);
+               ch = sr_channel_new(i, SR_PROBE_ANALOG, TRUE, channel);
                sdi->channels = g_slist_append(sdi->channels, ch);
                cg = g_malloc(sizeof(struct sr_channel_group));
                cg->name = g_strdup(channel);