1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 21:35:27 +03:00

Fixes #2945: fixed bad alignment of modulePulsesData

This commit is contained in:
Damjan Adamic 2015-10-12 22:19:03 +02:00
parent 98abd4ec08
commit cb5bb83067

View file

@ -224,11 +224,11 @@
#elif defined(PCBSKY9X)
#define __DMA __attribute__((aligned(32)))
#elif defined(STM32F4)
#define __DMA __attribute__((section(".ram")))
#define __DMA __attribute__((section(".ram")) __attribute__((aligned(32))))
#else
#define __DMA
#define __DMA __attribute__((aligned(32)))
#endif
#if defined(SIMU) || defined(CPUARM) || GCC_VERSION < 472
typedef int32_t int24_t;
#else