]> sigrok.org Git - libsigrok.git/blobdiff - session_file.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / session_file.c
index da11321c09ceba009afd9e00cbc87efd2b14c882..8413d509b7ab7798979212833897acef1c076a8b 100644 (file)
@@ -186,7 +186,7 @@ SR_API int sr_session_load(const char *filename)
                                                        g_variant_new_uint64(total_channels), sdi, NULL);
                                        for (p = 0; p < total_channels; p++) {
                                                snprintf(channelname, SR_MAX_PROBENAME_LEN, "%" PRIu64, p);
-                                               if (!(ch = sr_probe_new(p, SR_PROBE_LOGIC, TRUE,
+                                               if (!(ch = sr_channel_new(p, SR_PROBE_LOGIC, TRUE,
                                                                channelname)))
                                                        return SR_ERR;
                                                sdi->channels = g_slist_append(sdi->channels, ch);