]> sigrok.org Git - libsigrok.git/blobdiff - hardware/alsa/protocol.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / alsa / protocol.c
index d06a10efad7926e243a9eded08dae805e49035fd..987e7a7e68bf510ee7006f7069388ba1b6774e08 100644 (file)
@@ -159,7 +159,7 @@ static void alsa_scan_handle_dev(GSList **devices,
 
        for (i = 0; i < devc->num_channels; i++) {
                snprintf(p_name, sizeof(p_name), "Ch_%d", i);
-               if (!(ch = sr_probe_new(i, SR_PROBE_ANALOG, TRUE, p_name)))
+               if (!(ch = sr_channel_new(i, SR_PROBE_ANALOG, TRUE, p_name)))
                        goto scan_error_cleanup;
                sdi->channels = g_slist_append(sdi->channels, ch);
        }