Browse Source

Copter: add break after prec landing case clause

(And fixed indentation)
mission-4.1.18
Nitay Megides 9 years ago committed by Randy Mackay
parent
commit
f77eed8f95
  1. 9
      ArduCopter/GCS_Mavlink.cpp

9
ArduCopter/GCS_Mavlink.cpp

@ -1851,10 +1851,11 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) @@ -1851,10 +1851,11 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
break;
#if PRECISION_LANDING == ENABLED
case MAVLINK_MSG_ID_LANDING_TARGET:
// configure or release parachute
result = MAV_RESULT_ACCEPTED;
copter.precland.handle_msg(msg);
case MAVLINK_MSG_ID_LANDING_TARGET:
// configure or release parachute
result = MAV_RESULT_ACCEPTED;
copter.precland.handle_msg(msg);
break;
#endif
#if CAMERA == ENABLED

Loading…
Cancel
Save