From 23ccce23d056fe18358864bbfa290beb53fc4e7b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 13 Nov 2011 16:06:25 +1100 Subject: [PATCH] purple: timer_scheduler should be in all builds --- ArduCopter/ArduCopter.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 859aa0efb5..a7e1fe797d 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -210,15 +210,15 @@ static AP_Int8 *flight_modes = &g.flight_mode1; #error Unrecognised HIL_MODE setting. #endif // HIL MODE +AP_TimerProcess timer_scheduler; + #if HIL_MODE != HIL_MODE_ATTITUDE #if HIL_MODE != HIL_MODE_SENSORS // Normal #if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000 AP_InertialSensor_MPU6000 ins( CONFIG_MPU6000_CHIP_SELECT_PIN ); - AP_TimerProcess timer_scheduler; #else AP_InertialSensor_Oilpan ins(&adc); - AP_TimerAperiodicProcess timer_scheduler; #endif AP_IMU_INS imu(&ins, Parameters::k_param_IMU_calibration); #else