Copter: fix for scheduler API change

This commit is contained in:
Andrew Tridgell 2015-05-26 14:33:47 +10:00
parent 7d51817716
commit 19332be52e

View File

@ -794,7 +794,7 @@ void setup()
init_ardupilot();
// initialise the main loop scheduler
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0]), NULL);
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0]));
// setup initial performance counters
perf_info_reset();