AP_GPS: minor comment change

This commit is contained in:
priseborough 2017-01-26 08:10:29 +11:00 committed by Randy Mackay
parent 2c36da2b21
commit 6d53ab7b76

View File

@ -886,7 +886,7 @@ float AP_GPS::get_lag(uint8_t instance) const
// if the user has specified a non zero time delay, always return that value
return 0.001f * (float)_delay_ms[instance];
} else if (drivers[instance] == nullptr || state[instance].status == NO_GPS) {
// the user has not specified a value and we cannot determine it from the GPS type
// no GPS was detected in this instance
// so return a default delay of 1 measurement interval
return 0.001f * (float)_rate_ms[instance];
} else {