mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Filesystem: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
This commit is contained in:
parent
8d29116982
commit
bee1f2785a
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user