diff --git a/PythonWrapper/cmsisdsp_pkg/src/fftinit.c b/PythonWrapper/cmsisdsp_pkg/src/fftinit.c index 537df22b..33dcda39 100644 --- a/PythonWrapper/cmsisdsp_pkg/src/fftinit.c +++ b/PythonWrapper/cmsisdsp_pkg/src/fftinit.c @@ -115,80 +115,6 @@ arm_status arm_cfft_init_f64( } -arm_status arm_cfft_init_q31( - arm_cfft_instance_q31 * S, - uint16_t fftLen) -{ - /* Initialise the default arm status */ - arm_status status = ARM_MATH_SUCCESS; - - /* Initialise the FFT length */ - S->fftLen = fftLen; - - /* Initialise the Twiddle coefficient pointer */ - S->pTwiddle = (float32_t *)twiddleCoef_4096; - - - /* Initializations of Instance structure depending on the FFT length */ - switch (S->fftLen) { - /* Initializations of structure parameters for 4096 point FFT */ - case 4096U: - /* Initialise the bit reversal table modifier */ - FFTFXTINIT(q31,4096); - break; - - /* Initializations of structure parameters for 2048 point FFT */ - case 2048U: - /* Initialise the bit reversal table modifier */ - FFTFXTINIT(q31,2048); - - break; - - /* Initializations of structure parameters for 1024 point FFT */ - case 1024U: - /* Initialise the bit reversal table modifier */ - FFTFXTINIT(q31,1024); - - break; - - /* Initializations of structure parameters for 512 point FFT */ - case 512U: - /* Initialise the bit reversal table modifier */ - FFTFXTINIT(q31,512); - break; - - case 256U: - FFTFXTINIT(q31,256); - break; - - case 128U: - FFTFXTINIT(q31,128); - break; - - case 64U: - FFTFXTINIT(q31,64); - break; - - case 32U: - FFTFXTINIT(q31,32); - break; - - case 16U: - /* Initializations of structure parameters for 16 point FFT */ - FFTFXTINIT(q31,16); - break; - - - default: - /* Reporting argument error if fftSize is not valid value */ - status = ARM_MATH_ARGUMENT_ERROR; - break; - } - - - return (status); -} - arm_status arm_cfft_init_q15( arm_cfft_instance_q15 * S, uint16_t fftLen)