Use long based algorithm

This commit is contained in:
Geoffrey Merck
2020-04-19 20:42:57 +02:00
parent 7435074c0f
commit 32a71bfbf6
2 changed files with 79 additions and 88 deletions
+4 -4
View File
@@ -32,11 +32,11 @@ public:
void reset();
private:
q31_t m_coeff;
uint16_t m_threshold;
long m_coeff;
long m_thresholdSquared;
uint16_t m_count;
q31_t m_q0;
q31_t m_q1;
long m_q0;
long m_q1;
bool m_result;
};