Renamed 'dfu' command to 'bootloader' to make it congruent with STM terminology.
This commit is contained in:
parent
79b4badf62
commit
270a7e11d7
|
@ -3124,11 +3124,11 @@ static void cliReboot(void)
|
|||
cliRebootEx(false);
|
||||
}
|
||||
|
||||
static void cliDfu(char *cmdLine)
|
||||
static void cliBootloader(char *cmdLine)
|
||||
{
|
||||
UNUSED(cmdLine);
|
||||
|
||||
cliPrintHashLine("restarting in DFU mode");
|
||||
cliPrintHashLine("restarting in bootloader mode");
|
||||
cliRebootEx(true);
|
||||
}
|
||||
|
||||
|
@ -4151,7 +4151,7 @@ const clicmd_t cmdTable[] = {
|
|||
CLI_COMMAND_DEF("color", "configure colors", NULL, cliColor),
|
||||
#endif
|
||||
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",
|
||||
"[master|profile|rates|all] {showdefaults}", cliDiff),
|
||||
CLI_COMMAND_DEF("dump", "dump configuration",
|
||||
|
|
Loading…
Reference in New Issue