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
7602f698
Commit
7602f698
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
mavlink10: fixed MAV_VAR -> MAVLINK_TYPE
parent
2c3bfd89
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/GCS_MAVLink/Mavlink_compat.h
+4
-4
4 additions, 4 deletions
libraries/GCS_MAVLink/Mavlink_compat.h
with
4 additions
and
4 deletions
libraries/GCS_MAVLink/Mavlink_compat.h
+
4
−
4
View file @
7602f698
...
...
@@ -58,16 +58,16 @@
static
uint8_t
mav_var_type
(
enum
ap_var_type
t
)
{
if
(
t
==
AP_PARAM_INT8
)
{
return
MAV
_VAR
_INT8
;
return
MAV
LINK_TYPE
_INT8
_T
;
}
if
(
t
==
AP_PARAM_INT16
)
{
return
MAV
_VAR
_INT16
;
return
MAV
LINK_TYPE
_INT16
_T
;
}
if
(
t
==
AP_PARAM_INT32
)
{
return
MAV
_VAR
_INT32
;
return
MAV
LINK_TYPE
_INT32
_T
;
}
// treat any others as float
return
MAV
_VAR
_FLOAT
;
return
MAV
LINK_TYPE
_FLOAT
;
}
#define MAV_FIXED_WING MAV_TYPE_FIXED_WING
...
...
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