mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 10:38:28 -04:00
AP_GPS: SBF respect GPS_AUTO_CONFIG
This commit is contained in:
parent
2fc6e52431
commit
20988b9f05
@ -55,7 +55,8 @@ AP_GPS_SBF::read(void)
|
||||
{
|
||||
uint32_t now = AP_HAL::millis();
|
||||
|
||||
if (_init_blob_index < (sizeof(_initialisation_blob) / sizeof(_initialisation_blob[0]))) {
|
||||
if (gps._auto_config != AP_GPS::GPS_AUTO_CONFIG_DISABLE &&
|
||||
_init_blob_index < (sizeof(_initialisation_blob) / sizeof(_initialisation_blob[0]))) {
|
||||
const char *init_str = _initialisation_blob[_init_blob_index];
|
||||
if (validcommand) {
|
||||
_init_blob_index++;
|
||||
|
Loading…
Reference in New Issue
Block a user