]> sigrok.org Git - libsigrok.git/commitdiff
Fix short names for SR_CONF_OUTPUT_VOLTAGE_TARGET/_CURRENT_LIMIT.
authorBert Vermeulen <redacted>
Thu, 16 Oct 2014 11:22:51 +0000 (13:22 +0200)
committerBert Vermeulen <redacted>
Thu, 16 Oct 2014 11:22:51 +0000 (13:22 +0200)
src/hwdriver.c

index be918e9bfc6ab63543e7f888be3c110bcbd728e3..454a767fcbb2dd3274bd263bebcd7960aab72aa6 100644 (file)
@@ -106,11 +106,11 @@ static struct sr_config_info sr_config_info_data[] = {
                "Number of analog channels", NULL},
        {SR_CONF_OUTPUT_VOLTAGE, SR_T_FLOAT, "output_voltage",
                "Current output voltage", NULL},
-       {SR_CONF_OUTPUT_VOLTAGE_TARGET, SR_T_FLOAT, "output_voltage_max",
+       {SR_CONF_OUTPUT_VOLTAGE_TARGET, SR_T_FLOAT, "output_voltage_target",
                "Output voltage target", NULL},
        {SR_CONF_OUTPUT_CURRENT, SR_T_FLOAT, "output_current",
                "Current output current", NULL},
-       {SR_CONF_OUTPUT_CURRENT_LIMIT, SR_T_FLOAT, "output_current_max",
+       {SR_CONF_OUTPUT_CURRENT_LIMIT, SR_T_FLOAT, "output_current_limit",
                "Output current limit", NULL},
        {SR_CONF_OUTPUT_ENABLED, SR_T_BOOL, "output_enabled",
                "Output enabled", NULL},