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
1b793bf3
Commit
1b793bf3
authored
12 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
RC_Channel: don't force radio_out in enable_aux_servos()
this is called regularly, and causes the servo to twitch
parent
4cfea44f
No related branches found
Tags
0.4.0rc4f
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/RC_Channel/RC_Channel_aux.cpp
+0
-1
0 additions, 1 deletion
libraries/RC_Channel/RC_Channel_aux.cpp
with
0 additions
and
1 deletion
libraries/RC_Channel/RC_Channel_aux.cpp
+
0
−
1
View file @
1b793bf3
...
@@ -87,7 +87,6 @@ enable_aux_servos()
...
@@ -87,7 +87,6 @@ enable_aux_servos()
RC_Channel_aux
::
Aux_servo_function_t
function
=
(
RC_Channel_aux
::
Aux_servo_function_t
)
_aux_channels
[
i
]
->
function
.
get
();
RC_Channel_aux
::
Aux_servo_function_t
function
=
(
RC_Channel_aux
::
Aux_servo_function_t
)
_aux_channels
[
i
]
->
function
.
get
();
// see if it is a valid function
// see if it is a valid function
if
(
function
<
RC_Channel_aux
::
k_nr_aux_servo_functions
)
{
if
(
function
<
RC_Channel_aux
::
k_nr_aux_servo_functions
)
{
_aux_channels
[
i
]
->
radio_out
=
_aux_channels
[
i
]
->
radio_trim
;
_aux_channels
[
i
]
->
enable_out
();
_aux_channels
[
i
]
->
enable_out
();
}
}
}
}
...
...
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