Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
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
Baitboat
Commits
683f3a55
Commit
683f3a55
authored
10 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: re-enable CPU failsafe if arming fails
parent
dc3509ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/motors.pde
+2
-1
2 additions, 1 deletion
ArduCopter/motors.pde
with
2 additions
and
1 deletion
ArduCopter/motors.pde
+
2
−
1
View file @
683f3a55
...
@@ -177,8 +177,9 @@ static bool init_arm_motors()
...
@@ -177,8 +177,9 @@ static bool init_arm_motors()
if
(((
g
.
arming_check
==
ARMING_CHECK_ALL
)
||
(
g
.
arming_check
&
ARMING_CHECK_INS
))
&&
!
ins
.
gyro_calibrated_ok_all
())
{
if
(((
g
.
arming_check
==
ARMING_CHECK_ALL
)
||
(
g
.
arming_check
&
ARMING_CHECK_INS
))
&&
!
ins
.
gyro_calibrated_ok_all
())
{
gcs_send_text_P
(
SEVERITY_HIGH
,
PSTR
(
"Arm: Gyro cal failed"
));
gcs_send_text_P
(
SEVERITY_HIGH
,
PSTR
(
"Arm: Gyro cal failed"
));
AP_Notify
::
flags
.
armed
=
false
;
AP_Notify
::
flags
.
armed
=
false
;
failsafe_enable
();
return
false
;
return
false
;
}
}
did_ground_start
=
true
;
did_ground_start
=
true
;
}
}
...
...
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