1
0
Fork 0
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:
Hans Christian Olaussen 2019-03-01 13:31:45 +01:00
parent 1aef1a7448
commit 15e5f9980f

View file

@ -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;