Skip to content

Commit

Permalink
[modules] mavlink: fix time
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Dec 8, 2014
1 parent e2f5faf commit ad203f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/modules/datalink/mavlink.c
Expand Up @@ -210,7 +210,7 @@ static inline void mavlink_send_sys_status(void)
static inline void mavlink_send_attitude(void)
{
mavlink_msg_attitude_send(MAVLINK_COMM_0,
sys_time.nb_sec * 100 + msec_of_sys_time_ticks(sys_time.nb_sec_rem),
get_sys_time_msec(),
stateGetNedToBodyEulers_f()->phi, // Phi
stateGetNedToBodyEulers_f()->theta, // Theta
stateGetNedToBodyEulers_f()->psi, // Psi
Expand Down

0 comments on commit ad203f5

Please sign in to comment.