From f14f08a6ee2d391c679f2ce31f3b240e0bc97e72 Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 21 Mar 2022 18:33:35 +0900 Subject: [PATCH] AP_Avoidance: Console output can be disabled --- libraries/AP_Avoidance/AP_Avoidance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Avoidance/AP_Avoidance.cpp b/libraries/AP_Avoidance/AP_Avoidance.cpp index 4f4921da24..7b7829b5a5 100644 --- a/libraries/AP_Avoidance/AP_Avoidance.cpp +++ b/libraries/AP_Avoidance/AP_Avoidance.cpp @@ -147,7 +147,7 @@ void AP_Avoidance::init(void) if (_obstacles == nullptr) { // 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 _enabled.set(0); return;