mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Prevent arming when in CLI mode
This commit is contained in:
parent
f7530df974
commit
3b9cd37a57
1 changed files with 1 additions and 0 deletions
|
@ -1573,6 +1573,7 @@ void cliEnter(serialPort_t *serialPort)
|
|||
setPrintfSerialPort(cliPort);
|
||||
cliPrint("\r\nEntering CLI Mode, type 'exit' to return, or 'help'\r\n");
|
||||
cliPrompt();
|
||||
ENABLE_ARMING_FLAG(PREVENT_ARMING);
|
||||
}
|
||||
|
||||
static void cliExit(char *cmdline)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue