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
7d187440
Commit
7d187440
authored
10 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Plane: use battery.voltage2 method for logging
parent
5cdb8a4c
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/Log.pde
+1
-2
1 addition, 2 deletions
ArduPlane/Log.pde
with
1 addition
and
2 deletions
ArduPlane/Log.pde
+
1
−
2
View file @
7d187440
...
...
@@ -431,8 +431,7 @@ struct PACKED log_Arm_Disarm {
static
void
Log_Write_Current
()
{
float
voltage2
=
0.0
;
battery
.
voltage2
(
voltage2
);
float
voltage2
=
battery
.
voltage2
();
struct
log_Current
pkt
=
{
LOG_PACKET_HEADER_INIT
(
LOG_CURRENT_MSG
),
time_ms
:
hal
.
scheduler
->
millis
(),
...
...
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