mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Allow CLI to be compiled out.
First cut, as proof-of-concept. This allows CJMCU target to be built without CLI and with Blackbox.
This commit is contained in:
parent
67c6967da7
commit
d0a9d14b87
15 changed files with 35 additions and 6 deletions
|
@ -347,7 +347,10 @@ void init(void)
|
|||
imuInit();
|
||||
|
||||
mspInit(&masterConfig.serialConfig);
|
||||
|
||||
#ifdef USE_CLI
|
||||
cliInit(&masterConfig.serialConfig);
|
||||
#endif
|
||||
|
||||
failsafeInit(&masterConfig.rxConfig);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue