Browse Source

AP_Scheduler: Console output can be disabled

apm_2208
murata 3 years ago committed by Andrew Tridgell
parent
commit
16d7f69949
  1. 2
      libraries/AP_Scheduler/PerfInfo.cpp

2
libraries/AP_Scheduler/PerfInfo.cpp

@ -38,7 +38,7 @@ void AP::PerfInfo::allocate_task_info(uint8_t num_tasks) @@ -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;
}

Loading…
Cancel
Save