AP_Scheduler: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
330dd7221f
commit
2d3fed9784
@ -420,6 +420,7 @@ void AP_Scheduler::loop()
|
||||
#endif
|
||||
}
|
||||
|
||||
#if HAL_LOGGING_ENABLED
|
||||
void AP_Scheduler::update_logging()
|
||||
{
|
||||
if (debug_flags()) {
|
||||
@ -462,6 +463,7 @@ void AP_Scheduler::Log_Write_Performance()
|
||||
};
|
||||
AP::logger().WriteCriticalBlock(&pkt, sizeof(pkt));
|
||||
}
|
||||
#endif // HAL_LOGGING_ENABLED
|
||||
|
||||
// display task statistics as text buffer for @SYS/tasks.txt
|
||||
void AP_Scheduler::task_info(ExpandingString &str)
|
||||
|
Loading…
Reference in New Issue
Block a user