From ee3254ef8fff8b3df2ac5341918ceb3bc7ddf317 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 13 Nov 2011 16:11:39 +1100 Subject: [PATCH] adc.Init() takes timer_scheduler --- ArduPlane/system.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.pde b/ArduPlane/system.pde index 317d59adcc..676f4f418a 100644 --- a/ArduPlane/system.pde +++ b/ArduPlane/system.pde @@ -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);