Skip to content
Snippets Groups Projects
Commit aad1ff02 authored by Alessandro Simovic's avatar Alessandro Simovic Committed by Julian Oes
Browse files

mission_block: explicit type conversion

parent b527187a
No related branches found
No related tags found
No related merge requests found
......@@ -459,8 +459,8 @@ MissionBlock::issue_command(const mission_item_s &item)
vcmd.param7 = item.altitude + _navigator->get_home_position()->alt;
} else {
vcmd.param5 = item.params[4];
vcmd.param6 = item.params[5];
vcmd.param5 = (double)item.params[4];
vcmd.param6 = (double)item.params[5];
vcmd.param7 = item.params[6];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment