]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok.h: Add SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE.
authorAurelien Jacobs <redacted>
Sun, 15 Mar 2015 22:58:17 +0000 (23:58 +0100)
committerUwe Hermann <redacted>
Sun, 7 Jun 2015 18:15:07 +0000 (20:15 +0200)
include/libsigrok/libsigrok.h
src/hwdriver.c

index 43e6de00e568f763ec8479e127cf94151ab0fabd..4cd68930c132487fd2c5b36fcc042f2bc8c1b683 100644 (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. */
index 21cd42e56cb793bc446b9ae512225c4fd3cc4bcb..26ecbe1a538e92343e84885e4c926c8a26594995 100644 (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",