mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Merge pull request #2423 from mikeller/rename_dfu_to_bootloader
Renamed 'dfu' command to 'bootloader' to make it congruent with STM terminology.
This commit is contained in:
commit
f7afaedffe
1 changed files with 3 additions and 3 deletions
|
@ -3186,11 +3186,11 @@ static void cliReboot(void)
|
||||||
cliRebootEx(false);
|
cliRebootEx(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cliDfu(char *cmdLine)
|
static void cliBootloader(char *cmdLine)
|
||||||
{
|
{
|
||||||
UNUSED(cmdLine);
|
UNUSED(cmdLine);
|
||||||
|
|
||||||
cliPrintHashLine("restarting in DFU mode");
|
cliPrintHashLine("restarting in bootloader mode");
|
||||||
cliRebootEx(true);
|
cliRebootEx(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4215,7 +4215,7 @@ const clicmd_t cmdTable[] = {
|
||||||
CLI_COMMAND_DEF("color", "configure colors", NULL, cliColor),
|
CLI_COMMAND_DEF("color", "configure colors", NULL, cliColor),
|
||||||
#endif
|
#endif
|
||||||
CLI_COMMAND_DEF("defaults", "reset to defaults and reboot", NULL, cliDefaults),
|
CLI_COMMAND_DEF("defaults", "reset to defaults and reboot", NULL, cliDefaults),
|
||||||
CLI_COMMAND_DEF("dfu", "DFU mode on reboot", NULL, cliDfu),
|
CLI_COMMAND_DEF("bl", "reboot into bootloader", NULL, cliBootloader),
|
||||||
CLI_COMMAND_DEF("diff", "list configuration changes from default",
|
CLI_COMMAND_DEF("diff", "list configuration changes from default",
|
||||||
"[master|profile|rates|all] {showdefaults}", cliDiff),
|
"[master|profile|rates|all] {showdefaults}", cliDiff),
|
||||||
CLI_COMMAND_DEF("dump", "dump configuration",
|
CLI_COMMAND_DEF("dump", "dump configuration",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue