Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
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
Ardupilot
Commits
d6d5f0bb
Commit
d6d5f0bb
authored
11 years ago
by
Tobias
Committed by
Randy Mackay
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Copter: Log.pde: replace unused copy with ref (saves again some bytes)
parent
e2c3ea0f
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/Log.pde
+2
-2
2 additions, 2 deletions
ArduCopter/Log.pde
with
2 additions
and
2 deletions
ArduCopter/Log.pde
+
2
−
2
View file @
d6d5f0bb
...
...
@@ -339,7 +339,7 @@ struct PACKED log_Nav_Tuning {
// Write an Nav Tuning packet
static
void
Log_Write_Nav_Tuning
()
{
Vector3f
velocity
=
inertial_nav
.
get_velocity
();
const
Vector3f
&
velocity
=
inertial_nav
.
get_velocity
();
struct
log_Nav_Tuning
pkt
=
{
LOG_PACKET_HEADER_INIT
(
LOG_NAV_TUNING_MSG
),
...
...
@@ -525,7 +525,7 @@ struct PACKED log_INAV {
// Write an INAV packet
static
void
Log_Write_INAV
()
{
Vector3f
accel_corr
=
inertial_nav
.
accel_correction_ef
;
const
Vector3f
&
accel_corr
=
inertial_nav
.
accel_correction_ef
;
struct
log_INAV
pkt
=
{
LOG_PACKET_HEADER_INIT
(
LOG_INAV_MSG
),
...
...
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