mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: move sending of optical flow status up to base class
This commit is contained in:
parent
38fdcb02a4
commit
33d40500ac
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user