Browse Source

adc.Init() needs timer_scheduler

master
Andrew Tridgell 13 years ago committed by Pat Hickey
parent
commit
3072fdda85
  1. 2
      ArduCopter/system.pde

2
ArduCopter/system.pde

@ -209,7 +209,7 @@ static void init_ardupilot() @@ -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…
Cancel
Save