From: Bert Vermeulen Date: Thu, 16 Oct 2014 11:22:51 +0000 (+0200) Subject: Fix short names for SR_CONF_OUTPUT_VOLTAGE_TARGET/_CURRENT_LIMIT. X-Git-Tag: libsigrok-0.4.0~855 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ae431bc8d607ee381052eed1727f644fbc1fd89d;p=libsigrok.git Fix short names for SR_CONF_OUTPUT_VOLTAGE_TARGET/_CURRENT_LIMIT. --- diff --git a/src/hwdriver.c b/src/hwdriver.c index be918e9b..454a767f 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -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},