Optimised the DC offset processing.

This commit is contained in:
Jonathan Naylor
2017-08-18 10:48:23 +01:00
parent 064de9fef7
commit 9398d03e0b
8 changed files with 44 additions and 93 deletions
+3
View File
@@ -60,6 +60,9 @@ private:
CSampleRB m_txBuffer;
CRSSIRB m_rssiBuffer;
arm_biquad_casd_df1_inst_q31 m_dcFilter;
q31_t m_dcState[4];
arm_fir_instance_q15 m_boxcarFilter;
q15_t m_boxcarState[30U]; // NoTaps + BlockSize - 1, 6 + 20 - 1 plus some spare