Make SR_CONF_MASK an internal constant.
This commit is contained in:
parent
cffdc3e63b
commit
e318f01b2f
|
@ -662,8 +662,6 @@ enum sr_configcap {
|
||||||
SR_CONF_LIST = (1 << 29),
|
SR_CONF_LIST = (1 << 29),
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SR_CONF_MASK 0x1fffffff
|
|
||||||
|
|
||||||
/** Configuration keys */
|
/** Configuration keys */
|
||||||
enum sr_configkey {
|
enum sr_configkey {
|
||||||
/*--- Device classes ------------------------------------------------*/
|
/*--- Device classes ------------------------------------------------*/
|
||||||
|
|
|
@ -681,6 +681,9 @@ SR_PRIV int sr_log(int loglevel, const char *format, ...) G_GNUC_PRINTF(2, 3);
|
||||||
/** Device options for a particular device. */
|
/** Device options for a particular device. */
|
||||||
#define SR_CONF_DEVICE_OPTIONS 0x7FFF0001
|
#define SR_CONF_DEVICE_OPTIONS 0x7FFF0001
|
||||||
|
|
||||||
|
/** Mask for separating config keys from capabilities. */
|
||||||
|
#define SR_CONF_MASK 0x1fffffff
|
||||||
|
|
||||||
/** Values for the changes argument of sr_dev_driver.config_channel_set. */
|
/** Values for the changes argument of sr_dev_driver.config_channel_set. */
|
||||||
enum {
|
enum {
|
||||||
/** The enabled state of the channel has been changed. */
|
/** The enabled state of the channel has been changed. */
|
||||||
|
|
Loading…
Reference in New Issue