1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Add conditionals for MCU dependent ADC drivers

This commit is contained in:
jflyper 2017-12-18 23:18:21 +09:00
parent 7a7f1ceda5
commit 3b3ed72be8
3 changed files with 9 additions and 0 deletions

View file

@ -21,6 +21,8 @@
#include "platform.h"
#ifdef USE_ADC
#include "drivers/accgyro/accgyro.h"
#include "drivers/system.h"
@ -199,3 +201,4 @@ void adcInit(const adcConfig_t *config)
ADC_SoftwareStartConv(adc.ADCx);
}
#endif