diff --git a/ArduPlane/ArduPlane.cpp b/ArduPlane/ArduPlane.cpp index fef63bfef5..dc4871d4fc 100644 --- a/ArduPlane/ArduPlane.cpp +++ b/ArduPlane/ArduPlane.cpp @@ -26,8 +26,10 @@ #define SCHED_TASK(func, _interval_ticks, _max_time_micros) {\ .function = FUNCTOR_BIND(&plane, &Plane::func, void),\ + AP_SCHEDULER_NAME_INITIALIZER(func)\ .interval_ticks = _interval_ticks,\ - .max_time_micros = _max_time_micros} + .max_time_micros = _max_time_micros,\ +} /* scheduler table - all regular tasks are listed here, along with how