如下图,例程中FIR为32阶, 例程中 #define FIR_ORDER 32
fir.h中const int16_t FIR16_LPF32_TEST[32] 可见数组长度为32,
面下面对FIR16_LPF32_TEST数组的读取长度却达到了32 + 2 = 34, 不就溢出了吗, 调试了一下程序也没有进入错误中断
另外,注释中说如果除数是偶数,需要对最后一个数据置0处理, 如果是奇数就不用处理,,但下图中的两句不就重复了吗,好像奇数最后一个置0了
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.