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
e0d44ed3
Commit
e0d44ed3
authored
11 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Rover: prevent arming tone on startup
parent
0d6b8479
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
APMrover2/APMrover2.pde
+4
-2
4 additions, 2 deletions
APMrover2/APMrover2.pde
with
4 additions
and
2 deletions
APMrover2/APMrover2.pde
+
4
−
2
View file @
e0d44ed3
...
...
@@ -585,10 +585,12 @@ void setup() {
// load the default values of variables listed in var_info[]
AP_Param
::
setup_sketch_defaults
();
// arduplane does not use arming nor pre-arm checks
notify
.
init
();
// rover does not use arming nor pre-arm checks
AP_Notify
::
flags
.
armed
=
true
;
AP_Notify
::
flags
.
pre_arm_check
=
true
;
AP_Notify
::
flags
.
failsafe_battery
=
false
;
notify
.
init
();
rssi_analog_source
=
hal
.
analogin
->
channel
(
ANALOG_INPUT_NONE
);
vcc_pin
=
hal
.
analogin
->
channel
(
ANALOG_INPUT_BOARD_VCC
);
...
...
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