Skip to content

Commit

Permalink
Merge pull request #1834 from mavlink/fix-compiler-warning
Browse files Browse the repository at this point in the history
Use mission_type argument in integration test
  • Loading branch information
JonasVautherin authored Jul 5, 2022
2 parents 8878ccc + a8fe976 commit c431680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integration_tests/mission_raw_import_and_fly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@ MissionRaw::MissionItem create_mission_item(
new_raw_item_nav.x = int32_t(std::round(_x * 1e7));
new_raw_item_nav.y = int32_t(std::round(_y * 1e7));
new_raw_item_nav.z = float(_z);
new_raw_item_nav.mission_type = 0;
new_raw_item_nav.mission_type = _mission_type;
return new_raw_item_nav;
}

0 comments on commit c431680

Please sign in to comment.