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
b0f5b9a4
Commit
b0f5b9a4
authored
12 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Plane: use renamed RCInput valid_channels
parent
31e43094
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
ArduPlane/test.pde
+1
-1
1 addition, 1 deletion
ArduPlane/test.pde
with
1 addition
and
1 deletion
ArduPlane/test.pde
+
1
−
1
View file @
b0f5b9a4
...
@@ -139,7 +139,7 @@ test_passthru(uint8_t argc, const Menu::arg *argv)
...
@@ -139,7 +139,7 @@ test_passthru(uint8_t argc, const Menu::arg *argv)
delay
(
20
);
delay
(
20
);
// New radio frame? (we could use also if((millis()- timer) > 20)
// New radio frame? (we could use also if((millis()- timer) > 20)
if
(
hal
.
rcin
->
valid
()
>
0
)
{
if
(
hal
.
rcin
->
valid
_channels
()
>
0
)
{
cliSerial
->
print_P
(
PSTR
(
"CH:"
));
cliSerial
->
print_P
(
PSTR
(
"CH:"
));
for
(
int16_t
i
=
0
;
i
<
8
;
i
++
)
{
for
(
int16_t
i
=
0
;
i
<
8
;
i
++
)
{
cliSerial
->
print
(
hal
.
rcin
->
read
(
i
));
// Print channel values
cliSerial
->
print
(
hal
.
rcin
->
read
(
i
));
// Print channel values
...
...
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