]> sigrok.org Git - libsigrok.git/commitdiff
Add SR_CONF keys for max/min hold modes
authorBert Vermeulen <redacted>
Sun, 16 Jun 2013 10:12:20 +0000 (12:12 +0200)
committerBert Vermeulen <redacted>
Mon, 17 Jun 2013 14:17:39 +0000 (16:17 +0200)
hwdriver.c
libsigrok.h

index 1aec5afdbe7486360e6de5fcf423882e28317326..387b46dff9a25d556aee537dedd8c8f503d0783d 100644 (file)
@@ -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},
 };
 
index 98f594b74abe22b5a04af6cd9a411f76ca76fefa..dbd0c594f0097461218ca713aa82fd8f6ef9becf 100644 (file)
@@ -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. */