From e38ddd59618b12dcf56329bf121c2b6e7b845a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= Date: Sun, 31 Aug 2025 13:47:32 +0200 Subject: [PATCH] Use __aligned --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 3cb7bad..9828072 100644 --- a/src/main.c +++ b/src/main.c @@ -46,8 +46,8 @@ #define SIN_PHASE (0u) #define COS_PHASE (3u << 30) -static uint32_t lo_cos[LO_WORDS] __attribute__((__aligned__(1 << LO_BITS_DEPTH))); -static uint32_t lo_sin[LO_WORDS] __attribute__((__aligned__(1 << LO_BITS_DEPTH))); +static uint32_t lo_cos[LO_WORDS] __aligned(1 << LO_BITS_DEPTH); +static uint32_t lo_sin[LO_WORDS] __aligned(1 << LO_BITS_DEPTH); #define INIT_SAMPLE_RATE 100000 #define INIT_FREQ 94600000