diff --git a/libraries/AP_Scheduler/AP_Scheduler.h b/libraries/AP_Scheduler/AP_Scheduler.h index 11be459039..912398ab88 100644 --- a/libraries/AP_Scheduler/AP_Scheduler.h +++ b/libraries/AP_Scheduler/AP_Scheduler.h @@ -25,6 +25,8 @@ #include +#define AP_SCHEDULER_NAME_INITIALIZER(_name) .name = #_name, + /* A task scheduler for APM main loops