Browse Source

AP_InertialNav: initialise _gps_last_time

found with valgrind
master
Andrew Tridgell 12 years ago
parent
commit
0a25d6220a
  1. 1
      libraries/AP_InertialNav/AP_InertialNav.h

1
libraries/AP_InertialNav/AP_InertialNav.h

@ -34,6 +34,7 @@ public: @@ -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);

Loading…
Cancel
Save