AP_InertialNav: initialise _gps_last_time

found with valgrind
This commit is contained in:
Andrew Tridgell 2013-04-17 23:00:52 +10:00
parent b3ec5187f2
commit 0a25d6220a
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ public:
_gps_ptr(gps_ptr),
_xy_enabled(false),
_gps_last_update(0),
_gps_last_time(0),
_baro_last_update(0)
{
AP_Param::setup_object_defaults(this, var_info);