Skip to content

Commit

Permalink
mavlink: fix uninitialized mavlink warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes authored and dagar committed Oct 17, 2019
1 parent ec95378 commit 2fcddd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/mavlink/mavlink_high_latency2.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class MavlinkStreamHighLatency2 : public MavlinkStream

struct PerBatteryData {
PerBatteryData() {}
MavlinkOrbSubscription *subscription;
MavlinkOrbSubscription *subscription{nullptr};
SimpleAnalyzer analyzer{SimpleAnalyzer::AVERAGE};
uint64_t timestamp{0};
bool connected{false};
Expand Down

0 comments on commit 2fcddd9

Please sign in to comment.