diff options
author | M.H.Kabir <mhkabir98@gmail.com> | 2014-12-16 14:22:35 +0530 |
---|---|---|
committer | M.H.Kabir <mhkabir98@gmail.com> | 2014-12-16 14:22:35 +0530 |
commit | 5c6155c94d3a27cdc426f7d3e18a679f0bc589e7 (patch) | |
tree | bae39249499a3a2a1203f4f6f8883edd762ea932 /src/modules | |
parent | b4a611e95dc9aa4fd14c9f649bb86538908b22fc (diff) | |
download | px4-firmware-5c6155c94d3a27cdc426f7d3e18a679f0bc589e7.tar.gz px4-firmware-5c6155c94d3a27cdc426f7d3e18a679f0bc589e7.tar.bz2 px4-firmware-5c6155c94d3a27cdc426f7d3e18a679f0bc589e7.zip |
minor fix
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index 72c0d47bd..88d12e775 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -121,7 +121,9 @@ MavlinkReceiver::MavlinkReceiver(Mavlink *parent) : _old_timestamp(0), _hil_local_proj_inited(0), _hil_local_alt0(0.0f), - _hil_local_proj_ref{} + _hil_local_proj_ref{}, + _time_offset_avg_alpha(0.75), + _time_offset(0) { // make sure the FTP server is started |