From 102f06bb92f5c4b184368f2d4ccdef4f74bced78 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 2 Sep 2018 22:29:24 +1000 Subject: [PATCH] Sub: move sending of optical flow status up to base class --- ArduSub/GCS_Mavlink.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 5f35ade558..f38d45070a 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -441,13 +441,6 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id) #endif break; - case MSG_OPTICAL_FLOW: -#if OPTFLOW == ENABLED - CHECK_PAYLOAD_SIZE(OPTICAL_FLOW); - send_opticalflow(sub.optflow); -#endif - break; - case MSG_PID_TUNING: CHECK_PAYLOAD_SIZE(PID_TUNING); sub.send_pid_tuning(chan);