]> sigrok.org Git - libsigrok.git/blobdiff - hardware/sysclk-lwla/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / sysclk-lwla / api.c
index 3cff652ac5bf90da6ad7f7e0b6a1ff9cf4a52f4d..ac1932a4d11d7e5d788657e296e9391417a9030d 100644 (file)
@@ -85,7 +85,7 @@ static GSList *gen_channel_list(int num_channels)
                /* The LWLA series simply number channels from CH1 to CHxx. */
                g_snprintf(name, sizeof(name), "CH%d", i);
 
-               ch = sr_probe_new(i - 1, SR_PROBE_LOGIC, TRUE, name);
+               ch = sr_channel_new(i - 1, SR_PROBE_LOGIC, TRUE, name);
                list = g_slist_prepend(list, ch);
        }