mirror of https://github.com/ArduPilot/ardupilot
AP_Scheduler: add initializer for task field "name"
We use define it as an empty macro if on AVR board.
This commit is contained in:
parent
8018748fe2
commit
8fe466ce27
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include <AP_Param/AP_Param.h>
|
||||
|
||||
#define AP_SCHEDULER_NAME_INITIALIZER(_name) .name = #_name,
|
||||
|
||||
/*
|
||||
A task scheduler for APM main loops
|
||||
|
||||
|
|
Loading…
Reference in New Issue