STM32/mavlink/Lattepanda_shiled/mavlink_msg_system_config_setting_data.h
/**
 * @brief Decode a system_config_setting_data message into a struct
 *
 * @param msg The message to decode
 * @param system_config_setting_data C-struct to decode the message contents into
 */
@brief Decode a system_config_setting_data message into a struct
@param msg The message to decode
@param system_config_setting_data C-struct to decode the message contents into
@brief Decode a system_config_setting_data message into a struct @param msg The message to decode @param system_config_setting_data C - struct to decode the message contents into
static inline void mavlink_msg_system_config_setting_data_decode(const mavlink_message_t* msg, mavlink_system_config_setting_data_t* system_config_setting_data)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
	system_config_setting_data->sys_id = mavlink_msg_system_config_setting_data_get_sys_id(msg);
#else
        uint8_t len = msg->len < MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN? msg->len : MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN;
        memset(system_config_setting_data, 0, MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN);
	memcpy(system_config_setting_data, _MAV_PAYLOAD(msg), len);
#endif
}
static inline void mavlink_msg_system_config_setting_data_decode ( const mavlink_message_t * msg , mavlink_system_config_setting_data_t * system_config_setting_data ) { #if MAVLINK_NEED_BYTE_SWAP || ! MAVLINK_ALIGNED_FIELDS system_config_setting_data -> sys_id = mavlink_msg_system_config_setting_data_get_sys_id ( msg ) ; #else uint8_t len = msg -> len < MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN ? msg -> len : MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN ; memset ( system_config_setting_data , 0 , MAVLINK_MSG_ID_SYSTEM_CONFIG_SETTING_DATA_LEN ) ; memcpy ( system_config_setting_data , _MAV_PAYLOAD ( msg ) , len ) ; #endif }
@brief Decode a system_config_setting_data message into a struct
 @param msg The message to decode
 @param system_config_setting_data C-struct to decode the message contents into
@brief Decode a system_config_setting_data message into a struct @param msg The message to decode @param system_config_setting_data C - struct to decode the message contents into