X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrok-internal.h;h=89bedde1dabb6c5b3f4cdd9f5241f3ff3cae72e5;hb=a16a6391b5cc1479d791c8b760352a937b9d3770;hp=687e0327f9d62a0ed53ad8dc641a86d8ac588f8d;hpb=91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e;p=libsigrok.git diff --git a/libsigrok-internal.h b/libsigrok-internal.h index 687e0327..89bedde1 100644 --- a/libsigrok-internal.h +++ b/libsigrok-internal.h @@ -224,15 +224,15 @@ SR_PRIV int sr_err(const char *format, ...); /*--- device.c --------------------------------------------------------------*/ -/** Values for the changes argument of sr_dev_driver.config_probe_set. */ +/** Values for the changes argument of sr_dev_driver.config_channel_set. */ enum { - /** The enabled state of the probe has been changed. */ - SR_PROBE_SET_ENABLED = 1 << 0, - /** The trigger setup of the probe has been changed. */ - SR_PROBE_SET_TRIGGER = 1 << 1, + /** The enabled state of the channel has been changed. */ + SR_CHANNEL_SET_ENABLED = 1 << 0, + /** The trigger setup of the channel has been changed. */ + 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 */