STM32/mavlink/Lattepanda_shiled/mavlink_msg_transmit_can_data.h
/**
 * @brief Send a transmit_can_data message
 * @param chan MAVLink channel to send the message
 * @param struct The MAVLink struct to serialize
 */
@brief Send a transmit_can_data message
@param chan MAVLink channel to send the message
@param struct The MAVLink struct to serialize
@brief Send a transmit_can_data message @param chan MAVLink channel to send the message @param struct The MAVLink struct to serialize
static inline void mavlink_msg_transmit_can_data_send_struct(mavlink_channel_t chan, const mavlink_transmit_can_data_t* transmit_can_data)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
    mavlink_msg_transmit_can_data_send(chan, transmit_can_data->CAN_ID, transmit_can_data->CAN_Data, transmit_can_data->CAN_RTR);
#else
    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_TRANSMIT_CAN_DATA, (const char *)transmit_can_data, MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_MIN_LEN, MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_LEN, MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_CRC);
#endif
}
static inline void mavlink_msg_transmit_can_data_send_struct ( mavlink_channel_t chan , const mavlink_transmit_can_data_t * transmit_can_data ) { #if MAVLINK_NEED_BYTE_SWAP || ! MAVLINK_ALIGNED_FIELDS mavlink_msg_transmit_can_data_send ( chan , transmit_can_data -> CAN_ID , transmit_can_data -> CAN_Data , transmit_can_data -> CAN_RTR ) ; #else _mav_finalize_message_chan_send ( chan , MAVLINK_MSG_ID_TRANSMIT_CAN_DATA , ( const char * ) transmit_can_data , MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_MIN_LEN , MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_LEN , MAVLINK_MSG_ID_TRANSMIT_CAN_DATA_CRC ) ; #endif }
@brief Send a transmit_can_data message
 @param chan MAVLink channel to send the message
 @param struct The MAVLink struct to serialize
@brief Send a transmit_can_data message @param chan MAVLink channel to send the message @param struct The MAVLink struct to serialize