Skip to content

Commit

Permalink
Copter: don't send WINCH_STATUS message if winch not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 26, 2023
1 parent ea23772 commit 840a60a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 840a60a

Please sign in to comment.