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. */