apps/exmaples/smps: Fix types in Kconfig. All power, voltage, current values were strings with no default. I assume they should be 'int' with what default?

This commit is contained in:
Gregory Nutt 2018-04-04 15:30:01 -06:00
parent a62b8ff299
commit c026d5ea09

View File

@ -15,44 +15,54 @@ config EXAMPLES_SMPS_DEVPATH
The default path to the Smps device. Default: /dev/smps0
config EXAMPLES_SMPS_TIME_DEFAULT
string "SMPS example run time default (sec)"
int "SMPS example run time default (sec)"
default 0
config EXAMPLES_SMPS_OUT_VOLTAGE_DEFAULT
string "SMPS Output voltage default (mV)"
int "SMPS Output voltage default (mV)"
default 0
config EXAMPLES_SMPS_OUT_CURRENT_DEFAULT
string "SMPS Output current default (mA)"
int "SMPS Output current default (mA)"
default 0
config EXAMPLES_SMPS_OUT_POWER_DEFAULT
string "SMPS Output power default (mW)"
int "SMPS Output power default (mW)"
default 0
config EXAMPLES_SMPS_IN_CURRENT_LIMIT
string "SMPS Input Current limit (mA)"
int "SMPS Input Current limit (mA)"
default 0
---help---
Input current limit for the SMPS driver in mA. Not used if 0
config EXAMPLES_SMPS_OUT_CURRENT_LIMIT
string "SMPS Output Current limit (mA)"
int "SMPS Output Current limit (mA)"
default 0
---help---
Output current limit for the SMPS driver in mA. Not used if 0
config EXAMPLES_SMPS_IN_VOLTAGE_LIMIT
string "SMPS Input Voltage limit (mV)"
int "SMPS Input Voltage limit (mV)"
default 0
---help---
Input voltage limit for the SMPS driver in mV. Not used if 0
config EXAMPLES_SMPS_OUT_VOLTAGE_LIMIT
string "SMPS Output Voltage limit (mV)"
int "SMPS Output Voltage limit (mV)"
default 0
---help---
Output voltage limit for the SMPS driver in mV. Not used if 0
config EXAMPLES_SMPS_IN_POWER_LIMIT
string "SMPS Input Power limit (mW)"
int "SMPS Input Power limit (mW)"
default 0
---help---
Input power limit for the SMPS driver in mW. Not used if 0
config EXAMPLES_SMPS_OUT_POWER_LIMIT
string "SMPS Output Power limit (mW)"
int "SMPS Output Power limit (mW)"
default 0
---help---
Output power limit for the SMPS driver in mW. Not used if 0