diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-11 09:07:42 -0800 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-11 09:07:42 -0800 |
commit | 2f94a7a2b71b569361bf4772638fc2c6aa7faef0 (patch) | |
tree | f2d68a8ce0e3cdf3faeb86b3132532db6ee3e030 | |
parent | 40dfbf0d977729951d73bcb089ca8f89c7b83efe (diff) | |
parent | 419896f983d9d5298da0e7bda6450901088c6bc4 (diff) | |
download | px4-firmware-2f94a7a2b71b569361bf4772638fc2c6aa7faef0.tar.gz px4-firmware-2f94a7a2b71b569361bf4772638fc2c6aa7faef0.tar.bz2 px4-firmware-2f94a7a2b71b569361bf4772638fc2c6aa7faef0.zip |
Merge pull request #146 from PX4/wpfix
WP fix contributed by James Goppert
-rw-r--r-- | apps/mavlink/waypoints.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mavlink/waypoints.h b/apps/mavlink/waypoints.h index 736d1f119..c32ab32e5 100644 --- a/apps/mavlink/waypoints.h +++ b/apps/mavlink/waypoints.h @@ -98,8 +98,8 @@ struct mavlink_wpm_storage { uint16_t max_size; uint16_t rcv_size; enum MAVLINK_WPM_STATES current_state; - uint16_t current_wp_id; ///< Waypoint in current transmission - uint16_t current_active_wp_id; ///< Waypoint the system is currently heading towards + int16_t current_wp_id; ///< Waypoint in current transmission + int16_t current_active_wp_id; ///< Waypoint the system is currently heading towards uint16_t current_count; uint8_t current_partner_sysid; uint8_t current_partner_compid; |