mirror of https://github.com/ArduPilot/ardupilot
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:
parent
79b8b15053
commit
8018748fe2
|
@ -45,6 +45,7 @@ public:
|
|||
|
||||
struct Task {
|
||||
task_fn_t function;
|
||||
const char *name;
|
||||
uint16_t interval_ticks;
|
||||
uint16_t max_time_micros;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue