mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-16 12:55:16 +03:00
h7: move adc values to dma_ram section to ensure coherent reads
This commit is contained in:
parent
4ad6ade468
commit
a35fe40a47
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(STM32H7)
|
||||
#define ADC_VALUES_ALIGNMENT(def) def __attribute__ ((aligned (32)))
|
||||
#define ADC_VALUES_ALIGNMENT(def) __attribute__ ((section(".DMA_RAM"))) def __attribute__ ((aligned (32)))
|
||||
#else
|
||||
#define ADC_VALUES_ALIGNMENT(def) def
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue