Copter: do not report collision warning when action is COLLISION_ACTION_NONE:

This commit is contained in:
Tom Pittenger 2016-08-13 02:04:15 -07:00
parent b187e1f9a6
commit a1bf791529

View File

@ -78,6 +78,7 @@ MAV_COLLISION_ACTION AP_Avoidance_Copter::handle_avoidance(const AP_Avoidance::O
// unsupported actions and those that require no response
case MAV_COLLISION_ACTION_NONE:
return actual_action;
case MAV_COLLISION_ACTION_REPORT:
default:
break;