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:
parent
5a448ea9b0
commit
a03b85025c
16 changed files with 321 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue