libsigrok.h: Add SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE.

This commit is contained in:
Aurelien Jacobs 2015-03-15 23:58:17 +01:00 committed by Uwe Hermann
parent 4c938fc27f
commit c4b7838922
2 changed files with 5 additions and 0 deletions

View File

@ -891,6 +891,9 @@ enum sr_configkey {
/* Output frequency target in Hz. */
SR_CONF_OUTPUT_FREQUENCY_TARGET,
/** Over-temperature protection (OTP) active. */
SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE,
/*--- Special stuff -------------------------------------------------*/
/** Scan options supported by the driver. */

View File

@ -169,6 +169,8 @@ static struct sr_config_info sr_config_info_data[] = {
"Measured secondary quantity", NULL},
{SR_CONF_EQUIV_CIRCUIT_MODEL, SR_T_STRING, "equiv_circuit_model",
"Equivalent circuit model", NULL},
{SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE, SR_T_BOOL, "otp_active",
"Over-temperature protection active", NULL},
/* Special stuff */
{SR_CONF_SCAN_OPTIONS, SR_T_STRING, "scan_options",