AP_Filesystem: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED

there's AP_HAL::Scheduler which confuses this
This commit is contained in:
Peter Barker 2022-08-18 21:53:09 +10:00 committed by Peter Barker
parent 8d29116982
commit bee1f2785a

View File

@ -98,7 +98,7 @@ int AP_Filesystem_Sys::open(const char *fname, int flags, bool allow_absolute_pa
if (strcmp(fname, "threads.txt") == 0) { if (strcmp(fname, "threads.txt") == 0) {
hal.util->thread_info(*r.str); hal.util->thread_info(*r.str);
} }
#if HAL_SCHEDULER_ENABLED #if AP_SCHEDULER_ENABLED
if (strcmp(fname, "tasks.txt") == 0) { if (strcmp(fname, "tasks.txt") == 0) {
AP::scheduler().task_info(*r.str); AP::scheduler().task_info(*r.str);
} }