Browse Source

AP_GPS: fixed initialisation error in uBlox driver

found with valgrind
master
Andrew Tridgell 12 years ago
parent
commit
a5c3051929
  1. 2
      libraries/AP_GPS/AP_GPS_UBLOX.cpp

2
libraries/AP_GPS/AP_GPS_UBLOX.cpp

@ -51,6 +51,8 @@ AP_GPS_UBLOX::init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting) @@ -51,6 +51,8 @@ AP_GPS_UBLOX::init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting)
_nav_setting = nav_setting;
_step = 0;
_new_position = false;
_new_speed = false;
}
// Process bytes available from the stream

Loading…
Cancel
Save