mirror of https://github.com/ArduPilot/ardupilot
AP_Avoidance: Console output can be disabled
This commit is contained in:
parent
7eda7d757a
commit
f14f08a6ee
|
@ -147,7 +147,7 @@ void AP_Avoidance::init(void)
|
||||||
|
|
||||||
if (_obstacles == nullptr) {
|
if (_obstacles == nullptr) {
|
||||||
// dynamic RAM allocation of _obstacles[] failed, disable gracefully
|
// dynamic RAM allocation of _obstacles[] failed, disable gracefully
|
||||||
hal.console->printf("Unable to initialize Avoidance obstacle list\n");
|
DEV_PRINTF("Unable to initialize Avoidance obstacle list\n");
|
||||||
// disable ourselves to avoid repeated allocation attempts
|
// disable ourselves to avoid repeated allocation attempts
|
||||||
_enabled.set(0);
|
_enabled.set(0);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue