AP_Scheduler: add field "name" to task structure for logging purposes

That field will be useful for logging as it is easier to know what task a log
is related to by using the task's name rather than using the number.
This commit is contained in:
Gustavo Jose de Sousa 2015-07-28 13:21:52 -03:00 committed by Andrew Tridgell
parent 79b8b15053
commit 8018748fe2
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public:
struct Task {
task_fn_t function;
const char *name;
uint16_t interval_ticks;
uint16_t max_time_micros;
};