mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
adc.Init() needs timer_scheduler
This commit is contained in:
parent
23ccce23d0
commit
8e9851c217
@ -209,7 +209,7 @@ static void init_ardupilot()
|
||||
#if CONFIG_ADC == ENABLED
|
||||
// begin filtering the ADC Gyros
|
||||
adc.filter_result = true;
|
||||
adc.Init(); // APM ADC library initialization
|
||||
adc.Init(&timer_scheduler); // APM ADC library initialization
|
||||
#endif // CONFIG_ADC
|
||||
|
||||
#if CONFIG_APM_HARDWARE == APM_HARDWARE_PURPLE
|
||||
|
Loading…
Reference in New Issue
Block a user