Plane: disable CLI by default

it really isn't needed any more, and saves 20k of flash on APM2
This commit is contained in:
Andrew Tridgell 2014-10-22 16:14:29 +11:00
parent b8e73a737a
commit 2fc69c7c4c

View File

@ -456,9 +456,12 @@
# define SCALING_SPEED 15.0 # define SCALING_SPEED 15.0
#endif #endif
// use this to completely disable the CLI // use this to completely disable the CLI. We now default the CLI to
// off as it really is no longer needed except for special developer
// testing. This also allows us to keep supporting the APM2 for a bit
// longer, as it saves us 20k of flash
#ifndef CLI_ENABLED #ifndef CLI_ENABLED
# define CLI_ENABLED ENABLED # define CLI_ENABLED DISABLE
#endif #endif
// use this to disable geo-fencing // use this to disable geo-fencing