AP_ADSB: don't disable ADSB permanently on init fail
we may be low on memory on only this boot
This commit is contained in:
parent
eaad72c192
commit
f9e865ef5e
@ -56,7 +56,7 @@ void AP_ADSB::init(void)
|
||||
if (_vehicle_list == NULL) {
|
||||
// dynamic RAM allocation of _vehicle_list[] failed, disable gracefully
|
||||
hal.console->printf("Unable to initialize ADS-B vehicle list\n");
|
||||
_enabled.set_and_save(0);
|
||||
_enabled.set(0);
|
||||
}
|
||||
}
|
||||
_vehicle_count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user