Copter: move sending of optical flow status up to base class

This commit is contained in:
Peter Barker 2018-09-02 16:33:21 +10:00 committed by Andrew Tridgell
parent 38fdcb02a4
commit 33d40500ac
1 changed files with 0 additions and 7 deletions

View File

@ -314,13 +314,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
#endif
break;
case MSG_OPTICAL_FLOW:
#if OPTFLOW == ENABLED
CHECK_PAYLOAD_SIZE(OPTICAL_FLOW);
send_opticalflow(copter.optflow);
#endif
break;
case MSG_WIND:
case MSG_SERVO_OUT:
case MSG_AOA_SSA: