1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Move ADC internal interface into new header file

This commit is contained in:
Petr Ledvina 2015-01-29 14:43:40 +01:00
parent 6b0fea5952
commit d3324a9f0d
4 changed files with 24 additions and 5 deletions

View file

@ -31,6 +31,7 @@
#include "accgyro.h"
#include "adc.h"
#include "adc_impl.h"
// Driver for STM32F103CB onboard ADC
//
@ -43,8 +44,6 @@
//
// CC3D Only one ADC channel supported currently, for battery on S5_IN/PA0
extern adc_config_t adcConfig[ADC_CHANNEL_COUNT];
extern volatile uint16_t adcValues[ADC_CHANNEL_COUNT];
void adcInit(drv_adc_config_t *init)
{