Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
7f383fac
Commit
7f383fac
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Plane: re-enable CLI on non-APM1/APM2 boards
parent
c05a0bc6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduPlane/config.h
+5
-3
5 additions, 3 deletions
ArduPlane/config.h
with
5 additions
and
3 deletions
ArduPlane/config.h
+
5
−
3
View file @
7f383fac
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment