1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +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

@ -28,9 +28,7 @@
#include "accgyro.h"
#include "adc.h"
extern adc_config_t adcConfig[ADC_CHANNEL_COUNT];
extern volatile uint16_t adcValues[ADC_CHANNEL_COUNT];
#include "adc_impl.h"
#ifndef ADC_INSTANCE
#define ADC_INSTANCE ADC1