X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Flibsigrok.h;h=3daf616d80e471d8253f0b810c09e586bdab9042;hb=906921bad2cf5d66ba5a2a643d2d6c9db3e48118;hp=22d9be45c4acaafdae315af4ac3250f35b44681f;hpb=cffdc3e63b132795bfcaab91864c1c6b124e87fa;p=libsigrok.git diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 22d9be45..3daf616d 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -662,8 +662,6 @@ enum sr_configcap { SR_CONF_LIST = (1 << 29), }; -#define SR_CONF_MASK 0x1fffffff - /** Configuration keys */ enum sr_configkey { /*--- Device classes ------------------------------------------------*/ @@ -978,12 +976,18 @@ enum sr_configkey { /** Over-temperature protection (OTP) active. */ SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE, + /** Under-voltage condition. */ + SR_CONF_UNDER_VOLTAGE_CONDITION, + + /** Under-voltage condition active. */ + SR_CONF_UNDER_VOLTAGE_CONDITION_ACTIVE, + /* Update sr_key_info_config[] (hwdriver.c) upon changes! */ /*--- Special stuff -------------------------------------------------*/ /** Session filename. */ - SR_CONF_SESSIONFILE, + SR_CONF_SESSIONFILE = 40000, /** The device supports specifying a capturefile to inject. */ SR_CONF_CAPTUREFILE,