Commit d6500c1c authored by Don Gagne's avatar Don Gagne

parent efd5f652
...@@ -678,6 +678,9 @@ void SimpleMissionItem::_altitudeModeChanged(void) ...@@ -678,6 +678,9 @@ void SimpleMissionItem::_altitudeModeChanged(void)
case QGroundControlQmlGlobal::AltitudeModeRelative: case QGroundControlQmlGlobal::AltitudeModeRelative:
_missionItem.setFrame(MAV_FRAME_GLOBAL_RELATIVE_ALT); _missionItem.setFrame(MAV_FRAME_GLOBAL_RELATIVE_ALT);
break; break;
case QGroundControlQmlGlobal::AltitudeModeNone:
qWarning() << "Internal Error SimpleMissionItem::_altitudeModeChanged: Invalid altitudeMode == AltitudeModeNone";
break;
} }
// We always call _altitudeChanged to make sure that param7 is always setup correctly on mode change // We always call _altitudeChanged to make sure that param7 is always setup correctly on mode change
......
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