mirror of https://github.com/ArduPilot/ardupilot
purple: timer_scheduler should be in all builds
This commit is contained in:
parent
3b5c124fc6
commit
23ccce23d0
|
@ -210,15 +210,15 @@ static AP_Int8 *flight_modes = &g.flight_mode1;
|
||||||
#error Unrecognised HIL_MODE setting.
|
#error Unrecognised HIL_MODE setting.
|
||||||
#endif // HIL MODE
|
#endif // HIL MODE
|
||||||
|
|
||||||
|
AP_TimerProcess timer_scheduler;
|
||||||
|
|
||||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
#if HIL_MODE != HIL_MODE_SENSORS
|
#if HIL_MODE != HIL_MODE_SENSORS
|
||||||
// Normal
|
// Normal
|
||||||
#if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000
|
#if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000
|
||||||
AP_InertialSensor_MPU6000 ins( CONFIG_MPU6000_CHIP_SELECT_PIN );
|
AP_InertialSensor_MPU6000 ins( CONFIG_MPU6000_CHIP_SELECT_PIN );
|
||||||
AP_TimerProcess timer_scheduler;
|
|
||||||
#else
|
#else
|
||||||
AP_InertialSensor_Oilpan ins(&adc);
|
AP_InertialSensor_Oilpan ins(&adc);
|
||||||
AP_TimerAperiodicProcess timer_scheduler;
|
|
||||||
#endif
|
#endif
|
||||||
AP_IMU_INS imu(&ins, Parameters::k_param_IMU_calibration);
|
AP_IMU_INS imu(&ins, Parameters::k_param_IMU_calibration);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue