From 33d40500acc94b06eda3aa81eb3a878871f3537f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 2 Sep 2018 16:33:21 +1000 Subject: [PATCH] Copter: move sending of optical flow status up to base class --- ArduCopter/GCS_Mavlink.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 3fb6d44c94..5cdb4ad99c 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -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: