timer_scheduler doesn't exist in HIL_MODE_ATTITUDE

This commit is contained in:
Andrew Tridgell 2011-11-13 17:16:18 +11:00 committed by Pat Hickey
parent 0d3e07c2f7
commit 01cfd64327
2 changed files with 4 additions and 0 deletions

View File

@ -203,7 +203,9 @@ static void init_ardupilot()
init_camera();
#if HIL_MODE != HIL_MODE_ATTITUDE
timer_scheduler.init( &isr_registry );
#endif
#if HIL_MODE != HIL_MODE_ATTITUDE
#if CONFIG_ADC == ENABLED

View File

@ -91,7 +91,9 @@ static void init_ardupilot()
// Initialize the timer scheduler to use the ISR registry.
//
#if HIL_MODE != HIL_MODE_ATTITUDE
timer_scheduler.init( & isr_registry );
#endif
//
// Check the EEPROM format version before loading any parameters from EEPROM.