AP_Avoidance: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:33:35 +09:00 committed by Andrew Tridgell
parent 7eda7d757a
commit f14f08a6ee
1 changed files with 1 additions and 1 deletions

View File

@ -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;