FFT magnitude calculation messes up the rest of the parts.
I use the CMSIS-DSP library to calculate the Fourier transform, but when I want to calculate the magnitude, I run into a problem. This affects other data (a struct variables )and makes them 0 in the end, the whole program collapses. I don't understa...