diff --git a/libraries/AP_Mission/AP_Mission.cpp b/libraries/AP_Mission/AP_Mission.cpp index 8a60c3b68bea9..ff42107ff6418 100644 --- a/libraries/AP_Mission/AP_Mission.cpp +++ b/libraries/AP_Mission/AP_Mission.cpp @@ -964,6 +964,9 @@ MAV_MISSION_RESULT AP_Mission::sanity_check_params(const mavlink_mission_item_in case MAV_CMD_NAV_WAYPOINT: nan_mask = ~(1 << 3); // param 4 can be nan break; + case MAV_CMD_NAV_LOITER_UNLIM: + nan_mask = ~(1 << 3); // param 4 can be nan + break; case MAV_CMD_NAV_LAND: nan_mask = ~(1 << 3); // param 4 can be nan break;