Commit 3b39e32f authored by Bryant Mairs's avatar Bryant Mairs

Fixed a couple of uninitialized arrays within the MAVLinkDecoder. It would...

Fixed a couple of uninitialized arrays within the MAVLinkDecoder. It would result in weird time values in some data logging instances.
parent 0f3ad35d
......@@ -12,10 +12,10 @@ MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) :
componentID[i] = -1;
componentMulti[i] = false;
onboardTimeOffset[i] = 0;
onboardToGCSUnixTimeOffsetAndDelay[i] = 0;
firstOnboardTime[i] = 0;
}
// Fill filter
messageFilter.insert(MAVLINK_MSG_ID_HEARTBEAT, false);
messageFilter.insert(MAVLINK_MSG_ID_SYS_STATUS, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment