AP_GPS: initialise a variable in uBlox driver

This commit is contained in:
Andrew Tridgell 2014-04-23 18:15:30 +10:00
parent 287af8f66e
commit b0fd94f18e

View File

@ -60,6 +60,7 @@ AP_GPS_UBLOX::AP_GPS_UBLOX(AP_GPS &_gps, AP_GPS::GPS_State &_state, AP_HAL::UART
_disable_counter(0), _disable_counter(0),
next_fix(AP_GPS::NO_FIX), next_fix(AP_GPS::NO_FIX),
rate_update_step(0), rate_update_step(0),
_last_5hz_time(0),
_last_hw_status(0) _last_hw_status(0)
{ {
// stop any config strings that are pending // stop any config strings that are pending