X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;fp=src%2Fhwdriver.c;h=f5b5b2574a9f9115863c9f0aeed70ed23e237bdf;hb=3d70d77709b023499b09e7d0f0e3c20f3c58f140;hp=c81a87a169d0f9e8ef52a1abba87b51c4cb5d63a;hpb=9edda1d25b3b076b9e221daf4bf200240cc4a315;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index c81a87a1..f5b5b257 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -177,6 +177,8 @@ static struct sr_key_info sr_key_info_config[] = { "Under-voltage condition", NULL}, {SR_CONF_UNDER_VOLTAGE_CONDITION_ACTIVE, SR_T_BOOL, "uvc_active", "Under-voltage condition active", NULL}, + {SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD, SR_T_FLOAT, "uvc_threshold", + "Under-voltage condition threshold", NULL}, {SR_CONF_TRIGGER_LEVEL, SR_T_FLOAT, "triggerlevel", "Trigger level", NULL},