mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
timer_scheduler doesn't exist in HIL_MODE_ATTITUDE
This commit is contained in:
parent
a3701e521a
commit
1e41b4b2b0
@ -203,7 +203,9 @@ static void init_ardupilot()
|
|||||||
|
|
||||||
init_camera();
|
init_camera();
|
||||||
|
|
||||||
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
timer_scheduler.init( &isr_registry );
|
timer_scheduler.init( &isr_registry );
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
#if CONFIG_ADC == ENABLED
|
#if CONFIG_ADC == ENABLED
|
||||||
|
@ -91,7 +91,9 @@ static void init_ardupilot()
|
|||||||
// Initialize the timer scheduler to use the ISR registry.
|
// Initialize the timer scheduler to use the ISR registry.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
timer_scheduler.init( & isr_registry );
|
timer_scheduler.init( & isr_registry );
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check the EEPROM format version before loading any parameters from EEPROM.
|
// Check the EEPROM format version before loading any parameters from EEPROM.
|
||||||
|
Loading…
Reference in New Issue
Block a user