Optimise the DC offset removal.

This commit is contained in:
Jonathan Naylor
2017-08-18 10:40:34 +01:00
parent 51577efd79
commit e707391a5e
8 changed files with 44 additions and 91 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