mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Fix resource command outputs
This commit is contained in:
parent
bb5314b825
commit
07b1918acd
1 changed files with 6 additions and 6 deletions
|
@ -2780,7 +2780,7 @@ static void printResource(uint8_t dumpMask)
|
|||
const ioTag_t ioTagDefault = *((const ioTag_t *)defaultConfig + resourceTable[i].offset + index);
|
||||
|
||||
bool equalsDefault = ioTag == ioTagDefault;
|
||||
const char *format = "resource %s %d %c%02dn";
|
||||
const char *format = "resource %s %d %c%02d\n";
|
||||
const char *formatUnassigned = "resource %s %d NONE";
|
||||
if (!ioTagDefault) {
|
||||
cliDefaultPrintLinef(dumpMask, equalsDefault, formatUnassigned, owner, RESOURCE_INDEX(index));
|
||||
|
@ -2866,11 +2866,11 @@ static void cliResource(char *cmdline)
|
|||
if (ioRecs[i].index > 0) {
|
||||
cliPrintf(" %d", ioRecs[i].index);
|
||||
}
|
||||
cliPrintLine("\r\n");
|
||||
cliPrintLine("");
|
||||
}
|
||||
|
||||
cliPrintLine("\r\n");
|
||||
cliPrintLine("\r\n");
|
||||
cliPrintLine("");
|
||||
cliPrintLine("");
|
||||
#ifdef MINIMAL_CLI
|
||||
cliPrintLine("DMA:");
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue