]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / libsigrok-internal.h
index 687e0327f9d62a0ed53ad8dc641a86d8ac588f8d..4d508c5b11ca64343b8c3947e85bde73897523a4 100644 (file)
@@ -227,12 +227,12 @@ SR_PRIV int sr_err(const char *format, ...);
 /** Values for the changes argument of sr_dev_driver.config_probe_set. */
 enum {
        /** The enabled state of the probe has been changed. */
-       SR_PROBE_SET_ENABLED = 1 << 0,
+       SR_CHANNEL_SET_ENABLED = 1 << 0,
        /** The trigger setup of the probe has been changed. */
-       SR_PROBE_SET_TRIGGER = 1 << 1,
+       SR_CHANNEL_SET_TRIGGER = 1 << 1,
 };
 
-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);
 
 /* Generic device instances */