Firmware/src/communication/mavlink/mav_home/mavlink_msg_mav_curtains_drive_state.h
static inline void mavlink_msg_mav_curtains_drive_state_send_struct(mavlink_channel_t chan, const mavlink_mav_curtains_drive_state_t* mav_curtains_drive_state)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
    mavlink_msg_mav_curtains_drive_state_send(chan, mav_curtains_drive_state->drive_state, mav_curtains_drive_state->lamp_state, mav_curtains_drive_state->errors, mav_curtains_drive_state->brightness);
#else
    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE, (const char *)mav_curtains_drive_state, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_MIN_LEN, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_LEN, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_CRC);
#endif
}
/**
 * @brief Send a mav_curtains_drive_state message
 * @param chan MAVLink channel to send the message
 * @param struct The MAVLink struct to serialize
 */
@brief Send a mav_curtains_drive_state message
@param chan MAVLink channel to send the message
@param struct The MAVLink struct to serialize
@brief Send a mav_curtains_drive_state message @param chan MAVLink channel to send the message @param struct The MAVLink struct to serialize
static inline void mavlink_msg_mav_curtains_drive_state_send_struct(mavlink_channel_t chan, const mavlink_mav_curtains_drive_state_t* mav_curtains_drive_state)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
    mavlink_msg_mav_curtains_drive_state_send(chan, mav_curtains_drive_state->drive_state, mav_curtains_drive_state->lamp_state, mav_curtains_drive_state->errors, mav_curtains_drive_state->brightness);
#else
    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE, (const char *)mav_curtains_drive_state, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_MIN_LEN, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_LEN, MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_CRC);
#endif
}
static inline void mavlink_msg_mav_curtains_drive_state_send_struct ( mavlink_channel_t chan , const mavlink_mav_curtains_drive_state_t * mav_curtains_drive_state ) { #if MAVLINK_NEED_BYTE_SWAP || ! MAVLINK_ALIGNED_FIELDS mavlink_msg_mav_curtains_drive_state_send ( chan , mav_curtains_drive_state -> drive_state , mav_curtains_drive_state -> lamp_state , mav_curtains_drive_state -> errors , mav_curtains_drive_state -> brightness ) ; #else _mav_finalize_message_chan_send ( chan , MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE , ( const char * ) mav_curtains_drive_state , MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_MIN_LEN , MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_LEN , MAVLINK_MSG_ID_MAV_CURTAINS_DRIVE_STATE_CRC ) ; #endif }
@brief Send a mav_curtains_drive_state message
 @param chan MAVLink channel to send the message
 @param struct The MAVLink struct to serialize
@brief Send a mav_curtains_drive_state message @param chan MAVLink channel to send the message @param struct The MAVLink struct to serialize