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:
Gustavo Jose de Sousa 2015-07-28 15:20:38 -03:00 committed by Andrew Tridgell
parent 8018748fe2
commit 8fe466ce27
1 changed files with 2 additions and 0 deletions

View File

@ -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