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
fdf6aa54
"README.md" did not exist on "d90b7dbfe1576196370360e21d3bccd2d8aadbb5"
Commit
fdf6aa54
authored
10 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: shorten ESC calibration message
parent
8b87a407
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/radio.pde
+2
-2
2 additions, 2 deletions
ArduCopter/radio.pde
with
2 additions
and
2 deletions
ArduCopter/radio.pde
+
2
−
2
View file @
fdf6aa54
...
@@ -62,13 +62,13 @@ static void init_rc_out()
...
@@ -62,13 +62,13 @@ static void init_rc_out()
// we will enter esc_calibrate mode on next reboot
// we will enter esc_calibrate mode on next reboot
g
.
esc_calibrate
.
set_and_save
(
1
);
g
.
esc_calibrate
.
set_and_save
(
1
);
// display message on console
// display message on console
cliSerial
->
printf_P
(
PSTR
(
"Entering ESC Cal
ibration: please
restart APM.
\n
"
));
cliSerial
->
printf_P
(
PSTR
(
"Entering ESC Cal
:
restart APM.
\n
"
));
// turn on esc calibration notification
// turn on esc calibration notification
AP_Notify
::
flags
.
esc_calibration
=
true
;
AP_Notify
::
flags
.
esc_calibration
=
true
;
// block until we restart
// block until we restart
while
(
1
)
{
delay
(
5
);
}
while
(
1
)
{
delay
(
5
);
}
}
else
{
}
else
{
cliSerial
->
printf_P
(
PSTR
(
"ESC Cal
ibration active
: passing throttle through to ESCs.
\n
"
));
cliSerial
->
printf_P
(
PSTR
(
"ESC Cal: passing throttle through to ESCs.
\n
"
));
// clear esc flag
// clear esc flag
g
.
esc_calibrate
.
set_and_save
(
0
);
g
.
esc_calibrate
.
set_and_save
(
0
);
// pass through user throttle to escs
// pass through user throttle to escs
...
...
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