Use __aligned

This commit is contained in:
Jan Hamal Dvořák 2025-08-31 13:47:32 +02:00
parent eb52048770
commit e38ddd5961
Signed by: mordae
GPG key ID: 1782BCC23EE007B9

View file

@ -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