Skip to content

Commit

Permalink
Minor aesthetic fixups for CLI.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller committed Jan 4, 2017
1 parent b3ad232 commit 333cd33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/io/serial_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -3377,6 +3377,7 @@ static bool resourceCheck(uint8_t resourceIndex, uint8_t index, ioTag_t tag)
if (resourceTable[r].maxIndex > 0) {
cliPrintf(" %d", RESOURCE_INDEX(i));
}
cliPrint("\r\n");
if (error) {
return false;
}
Expand Down Expand Up @@ -3488,7 +3489,7 @@ static void cliResource(char *cmdline)
if (!resourceCheck(resourceIndex, index, DEFIO_TAG_MAKE(port, pin))) {
return;
}
cliPrintf("Resource is set to %c%02d!\r\n", port + 'A', pin);
cliPrintf("\r\nResource is set to %c%02d!\r\n", port + 'A', pin);
#else
cliPrintf("Set to %c%02d!", port + 'A', pin);
#endif
Expand Down Expand Up @@ -3724,7 +3725,7 @@ const clicmd_t cmdTable[] = {
CLI_COMMAND_DEF("gpspassthrough", "passthrough gps to serial", NULL, cliGpsPassthrough),
#endif
#ifdef USE_ESCSERIAL
CLI_COMMAND_DEF("escprog", "passthrough esc to serial", "<mode [sk/bl/ki]> <index>", cliEscPassthrough),
CLI_COMMAND_DEF("escprog", "passthrough esc to serial", "<mode [sk/bl/ki/cc]> <index>", cliEscPassthrough),
#endif
CLI_COMMAND_DEF("help", NULL, NULL, cliHelp),
#ifdef LED_STRIP
Expand Down

0 comments on commit 333cd33

Please sign in to comment.