busvoodoo: set pin test shortcut to t and fix typo

This commit is contained in:
King Kévin 2018-01-22 21:40:53 +01:00
parent 3e210ae720
commit ddbd821243
1 changed files with 4 additions and 6 deletions

View File

@ -645,13 +645,13 @@ static void busvoodoo_hiz_command_test_pins(void* argument)
if (wait_space()) {
if (busvoodoo_hiz_test_pins()) { // perform pin test
led_blink(0, 1.0); // show blue OK LED
printf("pin test succeeded\n"); // notify user
printf("pins test succeeded\n"); // notify user
} else {
led_blink(0.5, 0.5); // show error on LEDs
printf("pin test failed\n"); // notify user
printf("pins test failed\n"); // notify user
}
} else {
printf("pin test aborted\n");
printf("pins test aborted\n");
}
}
@ -665,7 +665,7 @@ const struct menu_command_t busvoodoo_hiz_commands[] = {
&busvoodoo_hiz_command_test_self,
},
{
'p',
't',
"pins-test",
"perform connector pins test",
MENU_ARGUMENT_NONE,
@ -673,5 +673,3 @@ const struct menu_command_t busvoodoo_hiz_commands[] = {
&busvoodoo_hiz_command_test_pins,
},
};
const uint8_t busvoodoo_hiz_commands_length = LENGTH(busvoodoo_hiz_commands);