mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Update serial_cli.c
This commit is contained in:
parent
ba2d8d115f
commit
6f286315d2
1 changed files with 1 additions and 5 deletions
|
@ -1971,7 +1971,6 @@ typedef enum {
|
||||||
DUMP_ALL = (1 << 3),
|
DUMP_ALL = (1 << 3),
|
||||||
} dumpFlags_e;
|
} dumpFlags_e;
|
||||||
|
|
||||||
|
|
||||||
static const char* const sectionBreak = "\r\n";
|
static const char* const sectionBreak = "\r\n";
|
||||||
|
|
||||||
#define printSectionBreak() cliPrintf((char *)sectionBreak)
|
#define printSectionBreak() cliPrintf((char *)sectionBreak)
|
||||||
|
@ -2103,7 +2102,6 @@ static void cliDump(char *cmdline)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cliPrint("\r\n# map\r\n");
|
cliPrint("\r\n# map\r\n");
|
||||||
|
|
||||||
for (i = 0; i < 8; i++)
|
for (i = 0; i < 8; i++)
|
||||||
buf[masterConfig.rxConfig.rcmap[i]] = rcChannelLetters[i];
|
buf[masterConfig.rxConfig.rcmap[i]] = rcChannelLetters[i];
|
||||||
buf[i] = '\0';
|
buf[i] = '\0';
|
||||||
|
@ -2156,7 +2154,7 @@ static void cliDump(char *cmdline)
|
||||||
cliVtx("");
|
cliVtx("");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cliPrint("\r\n# dump master\r\n");
|
cliPrint("\r\n# master\r\n");
|
||||||
dumpValues(MASTER_VALUE);
|
dumpValues(MASTER_VALUE);
|
||||||
|
|
||||||
cliPrint("\r\n# rxfail\r\n");
|
cliPrint("\r\n# rxfail\r\n");
|
||||||
|
@ -2174,7 +2172,6 @@ static void cliDump(char *cmdline)
|
||||||
cliDumpRateProfile(rateCount);
|
cliDumpRateProfile(rateCount);
|
||||||
|
|
||||||
cliPrint("\r\n# restore original rateprofile selection\r\n");
|
cliPrint("\r\n# restore original rateprofile selection\r\n");
|
||||||
|
|
||||||
changeControlRateProfile(currentRateIndex);
|
changeControlRateProfile(currentRateIndex);
|
||||||
cliRateProfile("");
|
cliRateProfile("");
|
||||||
#ifdef USE_SLOW_SERIAL_CLI
|
#ifdef USE_SLOW_SERIAL_CLI
|
||||||
|
@ -2183,7 +2180,6 @@ static void cliDump(char *cmdline)
|
||||||
}
|
}
|
||||||
|
|
||||||
cliPrint("\r\n# restore original profile selection\r\n");
|
cliPrint("\r\n# restore original profile selection\r\n");
|
||||||
|
|
||||||
changeProfile(activeProfile);
|
changeProfile(activeProfile);
|
||||||
cliProfile("");
|
cliProfile("");
|
||||||
printSectionBreak();
|
printSectionBreak();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue