mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Place ADC DMA buffer in DTCM RAM
Places adcValues in non cached DTCM RAM to avoid problems when D-cache is enabled for F7 mcus.
This commit is contained in:
parent
1aef1a7448
commit
15e5f9980f
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
//#define DEBUG_ADC_CHANNELS
|
//#define DEBUG_ADC_CHANNELS
|
||||||
|
|
||||||
adcOperatingConfig_t adcOperatingConfig[ADC_CHANNEL_COUNT];
|
adcOperatingConfig_t adcOperatingConfig[ADC_CHANNEL_COUNT];
|
||||||
volatile uint16_t adcValues[ADC_CHANNEL_COUNT];
|
volatile FAST_RAM_ZERO_INIT uint16_t adcValues[ADC_CHANNEL_COUNT];
|
||||||
|
|
||||||
#ifdef USE_ADC_INTERNAL
|
#ifdef USE_ADC_INTERNAL
|
||||||
uint16_t adcTSCAL1;
|
uint16_t adcTSCAL1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue