diff options
author | Kynos <mail01@delago.net> | 2014-06-30 01:55:40 +0200 |
---|---|---|
committer | Kynos <mail01@delago.net> | 2014-06-30 01:55:40 +0200 |
commit | 43b9d96cf4306bc472d16956f5437dbef7c630c0 (patch) | |
tree | fce01e383b0d17c2a3191476e98c6e7d17eaac6a /src | |
parent | 503ebddc1b0300f4666b1cd72100a6472709daaf (diff) | |
download | px4-firmware-43b9d96cf4306bc472d16956f5437dbef7c630c0.tar.gz px4-firmware-43b9d96cf4306bc472d16956f5437dbef7c630c0.tar.bz2 px4-firmware-43b9d96cf4306bc472d16956f5437dbef7c630c0.zip |
Merged upstream master, add missing change
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mavlink/mavlink_messages.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index 472e2810d..06c2e737e 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -669,16 +669,16 @@ protected: if (gps_sub->update(&gps_time, &gps)) { mavlink_msg_gps_raw_int_send(_channel, - gps->timestamp_position, - gps->fix_type, - gps->lat, - gps->lon, - gps->alt, - cm_uint16_from_m_float(gps->eph), - cm_uint16_from_m_float(gps->epv), - gps->vel_m_s * 100.0f, - _wrap_2pi(gps->cog_rad) * M_RAD_TO_DEG_F * 1e2f, - gps->satellites_used); + gps.timestamp_position, + gps.fix_type, + gps.lat, + gps.lon, + gps.alt, + cm_uint16_from_m_float(gps.eph), + cm_uint16_from_m_float(gps.epv), + gps.vel_m_s * 100.0f, + _wrap_2pi(gps.cog_rad) * M_RAD_TO_DEG_F * 1e2f, + gps.satellites_used); } } }; |