Skip to content
Snippets Groups Projects
Commit 7f383fac authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Plane: re-enable CLI on non-APM1/APM2 boards

parent c05a0bc6
No related branches found
No related tags found
No related merge requests found
...@@ -458,12 +458,14 @@ ...@@ -458,12 +458,14 @@
#endif #endif
// use this to completely disable the CLI. We now default the CLI to // 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 // off on smaller boards.
// 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
#if HAL_CPU_CLASS > HAL_CPU_CLASS_16
# define CLI_ENABLED ENABLED
#else
# define CLI_ENABLED DISABLE # define CLI_ENABLED DISABLE
#endif #endif
#endif
// use this to disable geo-fencing // use this to disable geo-fencing
#ifndef GEOFENCE_ENABLED #ifndef GEOFENCE_ENABLED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment