GCS_MAVLink: exclude entire case statement for can filter modify

This commit is contained in:
Peter Barker 2023-04-17 22:58:21 +10:00 committed by Andrew Tridgell
parent a1fe322f46
commit 15cea77e98

View File

@ -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: