Fix to allow configurator to detect the FC entering CLI when CLI_MINIMAL_VERBOSITY is defined.

This commit is contained in:
mikeller 2016-11-28 19:49:32 +13:00
parent d42da7b793
commit 0ad6f6ecdd
1 changed files with 3 additions and 0 deletions

View File

@ -2962,8 +2962,11 @@ void cliEnter(serialPort_t *serialPort)
#ifndef CLI_MINIMAL_VERBOSITY
cliPrint("\r\nEntering CLI Mode, type 'exit' to return, or 'help'\r\n");
#else
cliPrint("\r\nCLI\r\n");
#endif
cliPrompt();
ENABLE_ARMING_FLAG(PREVENT_ARMING);
}