Merge pull request #146 from PX4/wpfix

WP fix contributed by James Goppert
This commit is contained in:
Lorenz Meier 2013-01-11 09:07:42 -08:00
commit 2f94a7a2b7
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ struct mavlink_wpm_storage {
uint16_t max_size; uint16_t max_size;
uint16_t rcv_size; uint16_t rcv_size;
enum MAVLINK_WPM_STATES current_state; enum MAVLINK_WPM_STATES current_state;
uint16_t current_wp_id; ///< Waypoint in current transmission int16_t current_wp_id; ///< Waypoint in current transmission
uint16_t current_active_wp_id; ///< Waypoint the system is currently heading towards int16_t current_active_wp_id; ///< Waypoint the system is currently heading towards
uint16_t current_count; uint16_t current_count;
uint8_t current_partner_sysid; uint8_t current_partner_sysid;
uint8_t current_partner_compid; uint8_t current_partner_compid;