update protocol
This commit is contained in:
@@ -7,8 +7,8 @@ MAVPACKED(
|
||||
typedef struct __mavlink_mission_ack_t {
|
||||
uint8_t target_system; /*< System ID*/
|
||||
uint8_t target_component; /*< Component ID*/
|
||||
uint8_t type; /*< See MAV_MISSION_RESULT enum*/
|
||||
uint8_t mission_type; /*< Mission type, see MAV_MISSION_TYPE*/
|
||||
uint8_t type; /*< Mission result.*/
|
||||
uint8_t mission_type; /*< Mission type.*/
|
||||
}) mavlink_mission_ack_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_MISSION_ACK_LEN 4
|
||||
@@ -52,8 +52,8 @@ typedef struct __mavlink_mission_ack_t {
|
||||
*
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param type See MAV_MISSION_RESULT enum
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param type Mission result.
|
||||
* @param mission_type Mission type.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_mission_ack_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -89,8 +89,8 @@ static inline uint16_t mavlink_msg_mission_ack_pack(uint8_t system_id, uint8_t c
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param type See MAV_MISSION_RESULT enum
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param type Mission result.
|
||||
* @param mission_type Mission type.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_mission_ack_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -152,8 +152,8 @@ static inline uint16_t mavlink_msg_mission_ack_encode_chan(uint8_t system_id, ui
|
||||
*
|
||||
* @param target_system System ID
|
||||
* @param target_component Component ID
|
||||
* @param type See MAV_MISSION_RESULT enum
|
||||
* @param mission_type Mission type, see MAV_MISSION_TYPE
|
||||
* @param type Mission result.
|
||||
* @param mission_type Mission type.
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -250,7 +250,7 @@ static inline uint8_t mavlink_msg_mission_ack_get_target_component(const mavlink
|
||||
/**
|
||||
* @brief Get field type from mission_ack message
|
||||
*
|
||||
* @return See MAV_MISSION_RESULT enum
|
||||
* @return Mission result.
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_mission_ack_get_type(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -260,7 +260,7 @@ static inline uint8_t mavlink_msg_mission_ack_get_type(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field mission_type from mission_ack message
|
||||
*
|
||||
* @return Mission type, see MAV_MISSION_TYPE
|
||||
* @return Mission type.
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_mission_ack_get_mission_type(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user