mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Mission: fix small bug in d5a4c6b
This commit is contained in:
parent
d5a4c6b5bc
commit
930981914a
@ -546,7 +546,7 @@ MAV_MISSION_RESULT AP_Mission::sanity_check_params(const mavlink_mission_item_in
|
||||
nan_mask = ~(1 << 3); // param 4 can be nan
|
||||
break;
|
||||
case MAV_CMD_NAV_VTOL_LAND:
|
||||
nan_mask = ~((1 << 2) || (1 << 3)); // param 3 and 4 can be nan
|
||||
nan_mask = ~((1 << 2) | (1 << 3)); // param 3 and 4 can be nan
|
||||
break;
|
||||
default:
|
||||
nan_mask = 0xff;
|
||||
|
Loading…
Reference in New Issue
Block a user