Skip to content

Commit

Permalink
GCS_MAVLink: exclude entire case statement for can filter modify
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Jan 17, 2024
1 parent a1fe322 commit 15cea77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/GCS_MAVLink/GCS_Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4217,11 +4217,11 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
break;
#endif

case MAVLINK_MSG_ID_CAN_FILTER_MODIFY:
#if HAL_CANMANAGER_ENABLED
case MAVLINK_MSG_ID_CAN_FILTER_MODIFY:
AP::can().handle_can_filter_modify(msg);
#endif
break;
#endif

#if AP_OPENDRONEID_ENABLED
case MAVLINK_MSG_ID_OPEN_DRONE_ID_ARM_STATUS:
Expand Down

0 comments on commit 15cea77

Please sign in to comment.