1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Internal ADC support, full task polling version

This commit is contained in:
jflyper 2017-12-31 19:12:05 +09:00
parent 5a448ea9b0
commit a03b85025c
16 changed files with 321 additions and 42 deletions

View file

@ -31,6 +31,7 @@
#include "fc/runtime_config.h"
#include "sensors/sensors.h"
#include "sensors/adcinternal.h"
#include "sensors/acceleration.h"
#include "sensors/barometer.h"
#include "sensors/gyro.h"
@ -65,5 +66,9 @@ bool sensorsAutodetect(void)
rangefinderInit();
#endif
#ifdef USE_ADC_INTERNAL
adcInternalInit();
#endif
return gyroDetected;
}