From: Bert Vermeulen Date: Sun, 16 Jun 2013 10:12:20 +0000 (+0200) Subject: Add SR_CONF keys for max/min hold modes X-Git-Tag: libsigrok-0.2.1~55 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9fd6bc205433eae242960e9e976d28ac0fd20254;p=libsigrok.git Add SR_CONF keys for max/min hold modes --- diff --git a/hwdriver.c b/hwdriver.c index 1aec5afd..387b46df 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -87,6 +87,10 @@ static struct sr_config_info sr_config_info_data[] = { "Sound pressure level frequency weighting", NULL}, {SR_CONF_SPL_WEIGHT_TIME, SR_T_CHAR, "spl_weight_time", "Sound pressure level time weighting", NULL}, + {SR_CONF_HOLD_MAX, SR_T_BOOL, "hold_max", + "Hold max", NULL}, + {SR_CONF_HOLD_MIN, SR_T_BOOL, "hold_min", + "Hold min", NULL}, {0, 0, NULL, NULL, NULL}, }; diff --git a/libsigrok.h b/libsigrok.h index 98f594b7..dbd0c594 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -671,6 +671,12 @@ enum { /** Sound pressure level time weighting. */ SR_CONF_SPL_WEIGHT_TIME, + /** Max hold mode. */ + SR_CONF_HOLD_MAX, + + /** Min hold mode. */ + SR_CONF_HOLD_MIN, + /*--- Special stuff -------------------------------------------------*/ /** Scan options supported by the driver. */