Unverified Commit c8b6adf5 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7722 from Aeronavics/fix_typo_memset_stable

MissionItem memset to 8 instead of 0
parents 9fce87f2 a8883136
......@@ -8,6 +8,9 @@ Note: This file only contains high level features or important fixes.
* Major rewrite and bug fix pass through Structure Scan. Previous version had such bad problems that it can no longer be supported. Plans with Structure Scan will need to be recreated. New QGC will not load old Structure Scan plans.
### 3.5.5 - Not yet released
* Fix mavlink message memset which cause wrong commands to be sent on ArduPilot GotoLocation.
### 3.5.4 - Stable
* Update windows drivers
* Add support for FMUK66 flashing/connection
......
......@@ -46,7 +46,7 @@ void MissionManager::writeArduPilotGuidedMissionItem(const QGeoCoordinate& gotoC
mavlink_message_t messageOut;
mavlink_mission_item_t missionItem;
memset(&missionItem, 8, sizeof(missionItem));
memset(&missionItem, 0, sizeof(missionItem));
missionItem.target_system = _vehicle->id();
missionItem.target_component = _vehicle->defaultComponentId();
missionItem.seq = 0;
......
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