Helpful comment in fir2

This commit is contained in:
Imbus 2025-11-03 03:06:44 +01:00
parent dd24ae4c07
commit 319cfe0dbb

2
fir2.c
View file

@ -6,7 +6,7 @@
/* This needs to be a power of two for the bitmask optimizations to work */
/* If a non power of two length is desired, change to modulo */
#define FIR_LEN (1u << 5)
#define FIR_LEN (1u << 5) // = 32
_Static_assert((FIR_LEN & (FIR_LEN - 1u)) == 0, "FIR_LEN must be a power of two");
typedef struct {