Rescale the coefficient.

This commit is contained in:
Jonathan Naylor
2020-04-19 17:59:04 +01:00
parent a17bd9cc1d
commit 6575cba982
2 changed files with 63 additions and 65 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ public:
void reset();
private:
q31_t m_coeffDivTwo;
q31_t m_coeff;
uint16_t m_threshold;
uint16_t m_count;
q31_t m_q0;