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
2270a904
Commit
2270a904
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
RC_Channel: make flaperson range from -4500 to 4500
parent
14c77adc
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
libraries/RC_Channel/RC_Channel_aux.cpp
+2
-2
2 additions, 2 deletions
libraries/RC_Channel/RC_Channel_aux.cpp
with
2 additions
and
2 deletions
libraries/RC_Channel/RC_Channel_aux.cpp
+
2
−
2
View file @
2270a904
...
@@ -94,8 +94,6 @@ void RC_Channel_aux::update_aux_servo_function(void)
...
@@ -94,8 +94,6 @@ void RC_Channel_aux::update_aux_servo_function(void)
switch
(
function
)
{
switch
(
function
)
{
case
RC_Channel_aux
::
k_flap
:
case
RC_Channel_aux
::
k_flap
:
case
RC_Channel_aux
::
k_flap_auto
:
case
RC_Channel_aux
::
k_flap_auto
:
case
RC_Channel_aux
::
k_flaperon1
:
case
RC_Channel_aux
::
k_flaperon2
:
case
RC_Channel_aux
::
k_egg_drop
:
case
RC_Channel_aux
::
k_egg_drop
:
_aux_channels
[
i
]
->
set_range
(
0
,
100
);
_aux_channels
[
i
]
->
set_range
(
0
,
100
);
break
;
break
;
...
@@ -107,6 +105,8 @@ void RC_Channel_aux::update_aux_servo_function(void)
...
@@ -107,6 +105,8 @@ void RC_Channel_aux::update_aux_servo_function(void)
case
RC_Channel_aux
::
k_dspoiler2
:
case
RC_Channel_aux
::
k_dspoiler2
:
case
RC_Channel_aux
::
k_rudder
:
case
RC_Channel_aux
::
k_rudder
:
case
RC_Channel_aux
::
k_steering
:
case
RC_Channel_aux
::
k_steering
:
case
RC_Channel_aux
::
k_flaperon1
:
case
RC_Channel_aux
::
k_flaperon2
:
_aux_channels
[
i
]
->
set_angle
(
4500
);
_aux_channels
[
i
]
->
set_angle
(
4500
);
break
;
break
;
default:
default:
...
...
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