From cb5bb8306721df36c7871828eb9ab297544e93fc Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 12 Oct 2015 22:19:03 +0200 Subject: [PATCH] Fixes #2945: fixed bad alignment of modulePulsesData --- radio/src/opentx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 2b0cbb75b..4f1f4cfbd 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -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