From 16d7f69949ba4fdf9ebd1e452242d6655a3150a3 Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 21 Mar 2022 18:39:00 +0900 Subject: [PATCH] AP_Scheduler: Console output can be disabled --- libraries/AP_Scheduler/PerfInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Scheduler/PerfInfo.cpp b/libraries/AP_Scheduler/PerfInfo.cpp index 1531d87411..b68c708c34 100644 --- a/libraries/AP_Scheduler/PerfInfo.cpp +++ b/libraries/AP_Scheduler/PerfInfo.cpp @@ -38,7 +38,7 @@ void AP::PerfInfo::allocate_task_info(uint8_t num_tasks) { _task_info = new TaskInfo[num_tasks]; if (_task_info == nullptr) { - hal.console->printf("Unable to allocate scheduler TaskInfo\n"); + DEV_PRINTF("Unable to allocate scheduler TaskInfo\n"); _num_tasks = 0; return; }