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

Merge pull request #4776 from jflyper/bfdev-add-conditional-to-mcu-dep-adc-drivers

ADC Add conditionals for MCU dependent drivers
This commit is contained in:
Michael Keller 2017-12-19 08:42:16 +13:00 committed by GitHub
commit 74672972ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)
/* Start Conversation Error */
}
}
#endif