Browse Source

AP_Scheduler: add initializer for task field "name"

We use define it as an empty macro if on AVR board.
mission-4.1.18
Gustavo Jose de Sousa 10 years ago committed by Andrew Tridgell
parent
commit
8fe466ce27
  1. 2
      libraries/AP_Scheduler/AP_Scheduler.h

2
libraries/AP_Scheduler/AP_Scheduler.h

@ -25,6 +25,8 @@ @@ -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…
Cancel
Save