Commit 10c7e170 authored by Don Gagne's avatar Don Gagne

Fix comparison

parent 32b8a549
......@@ -72,7 +72,7 @@ void MissionManager::writeMissionItems(const QList<MissionItem*>& missionItems)
if (skipFirstItem) {
// Home is in sequence 0, remainder of items start at sequence 1
item->setSequenceNumber(item->sequenceNumber() - 1);
if (item->command() == MavlinkQmlSingleton::MAV_CMD_DO_JUMP) {
if (item->command() == MAV_CMD_DO_JUMP) {
item->setParam1((int)item->param1() - 1);
}
}
......
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