mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
fix ac2 hil build
This commit is contained in:
parent
15d0a4af2f
commit
fab2121c6d
@ -169,14 +169,14 @@ static void init_ardupilot()
|
||||
heli_init_swash(); // heli initialisation
|
||||
#endif
|
||||
|
||||
// begin filtering the ADC Gyros
|
||||
adc.filter_result = true;
|
||||
|
||||
init_rc_in(); // sets up rc channels from radio
|
||||
init_rc_out(); // sets up the timer libs
|
||||
init_camera();
|
||||
|
||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||
// begin filtering the ADC Gyros
|
||||
adc.filter_result = true;
|
||||
|
||||
adc.Init(); // APM ADC library initialization
|
||||
barometer.Init(); // APM Abs Pressure sensor initialization
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user