GyroFFT: disable 4096 for IMU_GYRO_FFT_LEN

saves around 10.5KB flash on px4-fmu-v5
This commit is contained in:
Beat Küng
2022-08-25 22:02:15 -04:00
committed by Daniel Agar
parent 060738cae1
commit 666b84027d
+6 -6
View File
@@ -115,12 +115,12 @@ bool GyroFFT::init()
// _rfft_q15.pCfft = &arm_cfft_sR_q15_len1024;
// break;
case 4096:
buffers_allocated = AllocateBuffers<4096>();
_rfft_q15.fftLenReal = 4096;
_rfft_q15.twidCoefRModifier = 2U;
_rfft_q15.pCfft = &arm_cfft_sR_q15_len2048;
break;
// case 4096:
// buffers_allocated = AllocateBuffers<4096>();
// _rfft_q15.fftLenReal = 4096;
// _rfft_q15.twidCoefRModifier = 2U;
// _rfft_q15.pCfft = &arm_cfft_sR_q15_len2048;
// break;
// case 8192:
// buffers_allocated = AllocateBuffers<8192>();