mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
adc.Init() takes timer_scheduler
This commit is contained in:
parent
992fc87112
commit
ee3254ef8f
@ -149,7 +149,7 @@ static void init_ardupilot()
|
||||
|
||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||
|
||||
adc.Init(); // APM ADC library initialization
|
||||
adc.Init(&timer_scheduler); // APM ADC library initialization
|
||||
|
||||
#if CONFIG_APM_HARDWARE == APM_HARDWARE_PURPLE
|
||||
barometer.Init(1, true);
|
||||
|
Loading…
Reference in New Issue
Block a user