mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Scheduler: use function name for AP_Scheduler task name
That makes it easier to identify tasks when debug is enabled in AP_Scheduler.
This commit is contained in:
parent
36b457a536
commit
b59154103f
@ -64,8 +64,10 @@ static SchedTest schedtest;
|
||||
|
||||
#define SCHED_TASK(func, _interval_ticks, _max_time_micros) {\
|
||||
.function = FUNCTOR_BIND(&schedtest, &SchedTest::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
|
||||
|
Loading…
Reference in New Issue
Block a user