]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
Convert SR_CONF_MEASURED_QUANTITY to SR_T_MQ.
[libsigrok.git] / src / hwdriver.c
index 595ea65742f3622062c160947f458662411a954f..fe8ac457f7009c477da83c83ff22fb74b318d65b 100644 (file)
@@ -165,7 +165,7 @@ static struct sr_key_info sr_key_info_config[] = {
                "Output frequency", NULL},
        {SR_CONF_OUTPUT_FREQUENCY_TARGET, SR_T_FLOAT, "output_frequency_target",
                "Output frequency target", NULL},
-       {SR_CONF_MEASURED_QUANTITY, SR_T_STRING, "measured_quantity",
+       {SR_CONF_MEASURED_QUANTITY, SR_T_MQ, "measured_quantity",
                "Measured quantity", NULL},
        {SR_CONF_MEASURED_2ND_QUANTITY, SR_T_STRING, "measured_2nd_quantity",
                "Measured secondary quantity", NULL},