Hotfix: Build fix

This commit is contained in:
Lorenz Meier 2013-04-22 14:56:13 +02:00
parent a817dedf11
commit 2b2c3f135d
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ handle_message(mavlink_message_t *msg)
hil_gps.vel_e_m_s = (float)gps.vel * 1e-2f * sinf(heading_rad);
hil_gps.vel_d_m_s = 0.0f;
/* COG (course over ground) is speced as 0..360 degrees (compass) */
hil_gps.cog_rad = cog_rad + M_PI_F; // from deg*100 to rad
hil_gps.cog_rad = heading_rad + M_PI_F; // from deg*100 to rad
hil_gps.fix_type = gps.fix_type;
hil_gps.satellites_visible = gps.satellites_visible;