Improve efficiency slightly.

This commit is contained in:
Jonathan Naylor
2018-02-27 18:58:31 +00:00
parent dbd84d7803
commit 24ac2b902d
2 changed files with 25 additions and 41 deletions
+2 -4
View File
@@ -66,11 +66,9 @@ private:
arm_biquad_casd_df1_inst_q31 m_dcFilter;
q31_t m_dcState[4];
arm_fir_instance_q15 m_boxcar5Filter1;
arm_fir_instance_q15 m_boxcar5Filter2;
arm_fir_instance_q15 m_boxcar5Filter;
arm_fir_instance_q15 m_boxcar10Filter;
q15_t m_boxcar5State1[30U]; // NoTaps + BlockSize - 1, 6 + 20 - 1 plus some spare
q15_t m_boxcar5State2[30U]; // NoTaps + BlockSize - 1, 6 + 20 - 1 plus some spare
q15_t m_boxcar5State[30U]; // NoTaps + BlockSize - 1, 6 + 20 - 1 plus some spare
q15_t m_boxcar10State[40U]; // NoTaps + BlockSize - 1, 10 + 20 - 1 plus some spare
bool m_pttInvert;