BV: set power command to P and pinout to p

This commit is contained in:
King Kévin 2018-03-20 10:41:30 +01:00
parent 5ecea30801
commit 05810060d7
1 changed files with 4 additions and 4 deletions

View File

@ -309,7 +309,7 @@ float busvoodoo_lv_set(float voltage)
gpio_set(GPIO(BUSVOODOO_LVEN_PORT), GPIO(BUSVOODOO_LVEN_PIN)); // enable LV voltage regulator
}
}
sleep_ms(10); // let voltage settle
sleep_ms(50); // let voltage settle
volt = busvoodoo_vreg_get(BUSVOODOO_LV_CHANNEL); // get LV voltage to return
return volt; // return measured voltage
@ -726,7 +726,7 @@ static void busvoodoo_global_pinout(void* argument)
/** list of supported commands */
const struct menu_command_t busvoodoo_global_commands[] = {
{
'p',
'P',
"power",
"switch 3V3 and 5V power rails on/off",
MENU_ARGUMENT_STRING,
@ -750,8 +750,8 @@ const struct menu_command_t busvoodoo_global_commands[] = {
&busvoodoo_global_hv,
},
{
'c',
"connector",
'p',
"pinout",
"show connector pinout",
MENU_ARGUMENT_NONE,
NULL,