Copter: don't send WINCH_STATUS message if winch not enabled

This commit is contained in:
Peter Barker 2023-11-26 21:14:25 +11:00 committed by Randy Mackay
parent 6dcaf94c3d
commit a84e9e8e6c

View File

@ -573,7 +573,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
#if HAL_GENERATOR_ENABLED
MSG_GENERATOR_STATUS,
#endif
#if AP_WINCH_ENABLED
MSG_WINCH_STATUS,
#endif
#if HAL_EFI_ENABLED
MSG_EFI_STATUS,
#endif