mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
option to average ADC samples
This commit is contained in:
parent
83bb1b8d3a
commit
6626db2631
4 changed files with 32 additions and 4 deletions
|
@ -78,7 +78,7 @@ typedef struct adc_config_s {
|
|||
|
||||
extern const adcTagMap_t adcTagMap[ADC_TAG_MAP_COUNT];
|
||||
extern adc_config_t adcConfig[ADC_CHN_COUNT];
|
||||
extern volatile uint16_t adcValues[ADCDEV_COUNT][ADC_CHN_COUNT];
|
||||
extern volatile uint16_t adcValues[ADCDEV_COUNT][ADC_CHN_COUNT * ADC_AVERAGE_N_SAMPLES];
|
||||
|
||||
void adcHardwareInit(drv_adc_config_t *init);
|
||||
ADCDevice adcDeviceByInstance(ADC_TypeDef *instance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue