mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_GPS: fixed initialisation error in uBlox driver
found with valgrind
This commit is contained in:
parent
bdb2f12c3b
commit
a5c3051929
@ -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…
Reference in New Issue
Block a user