adc.Init() takes timer_scheduler

This commit is contained in:
Andrew Tridgell 2011-11-13 16:11:39 +11:00 committed by Pat Hickey
parent 992fc87112
commit ee3254ef8f
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static void init_ardupilot()
#if HIL_MODE != HIL_MODE_ATTITUDE
adc.Init(); // APM ADC library initialization
adc.Init(&timer_scheduler); // APM ADC library initialization
#if CONFIG_APM_HARDWARE == APM_HARDWARE_PURPLE
barometer.Init(1, true);