From cd16b4da0e65e7d847f9af651693a2801607abf2 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 12 Oct 2015 22:52:57 +0200 Subject: [PATCH] Compilation fix for X9E --- radio/src/opentx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 4f1f4cfbd..bcee11321 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -224,7 +224,7 @@ #elif defined(PCBSKY9X) #define __DMA __attribute__((aligned(32))) #elif defined(STM32F4) - #define __DMA __attribute__((section(".ram")) __attribute__((aligned(32)))) + #define __DMA __attribute__((section(".ram"), aligned(32))) #else #define __DMA __attribute__((aligned(32))) #endif