mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Scheduler: Console output can be disabled
This commit is contained in:
parent
46f75e7e53
commit
16d7f69949
@ -38,7 +38,7 @@ void AP::PerfInfo::allocate_task_info(uint8_t num_tasks)
|
|||||||
{
|
{
|
||||||
_task_info = new TaskInfo[num_tasks];
|
_task_info = new TaskInfo[num_tasks];
|
||||||
if (_task_info == nullptr) {
|
if (_task_info == nullptr) {
|
||||||
hal.console->printf("Unable to allocate scheduler TaskInfo\n");
|
DEV_PRINTF("Unable to allocate scheduler TaskInfo\n");
|
||||||
_num_tasks = 0;
|
_num_tasks = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user