mirror of https://github.com/ArduPilot/ardupilot
Copter: adjust for new AP_Scheduler syntax
This commit is contained in:
parent
b731ebfd9e
commit
8550c553ca
|
@ -788,7 +788,7 @@ void setup()
|
|||
init_ardupilot();
|
||||
|
||||
// initialise the main loop scheduler
|
||||
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0]));
|
||||
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0]), NULL);
|
||||
|
||||
// setup initial performance counters
|
||||
perf_info_reset();
|
||||
|
|
Loading…
Reference in New Issue