AP_GPS: fixed initialisation error in uBlox driver

found with valgrind
This commit is contained in:
Andrew Tridgell 2013-04-12 14:25:46 +10:00
parent bdb2f12c3b
commit a5c3051929

View File

@ -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