]> sigrok.org Git - libsigrok.git/blobdiff - device.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / device.c
index b539eceea65f1013ba32d0f02e59eaf2170ec2a9..04adcccf081d768f45d6cd9ecfafbd09b8ddbb65 100644 (file)
--- a/device.c
+++ b/device.c
@@ -48,7 +48,7 @@
  *
  *  @return NULL (failure) or new struct sr_channel*.
  */
-SR_PRIV struct sr_channel *sr_probe_new(int index, int type,
+SR_PRIV struct sr_channel *sr_channel_new(int index, int type,
                gboolean enabled, const char *name)
 {
        struct sr_channel *ch;