mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 22:05:10 +03:00
Fixes #2945: fixed bad alignment of modulePulsesData
This commit is contained in:
parent
98abd4ec08
commit
cb5bb83067
1 changed files with 3 additions and 3 deletions
|
@ -224,9 +224,9 @@
|
||||||
#elif defined(PCBSKY9X)
|
#elif defined(PCBSKY9X)
|
||||||
#define __DMA __attribute__((aligned(32)))
|
#define __DMA __attribute__((aligned(32)))
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
#define __DMA __attribute__((section(".ram")))
|
#define __DMA __attribute__((section(".ram")) __attribute__((aligned(32))))
|
||||||
#else
|
#else
|
||||||
#define __DMA
|
#define __DMA __attribute__((aligned(32)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SIMU) || defined(CPUARM) || GCC_VERSION < 472
|
#if defined(SIMU) || defined(CPUARM) || GCC_VERSION < 472
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue