Copter: adjust for new AP_Scheduler syntax

This commit is contained in:
Andrew Tridgell 2015-05-13 10:57:58 +10:00
parent b731ebfd9e
commit 8550c553ca
1 changed files with 1 additions and 1 deletions

View File

@ -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();