mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Use fixed point for the Goertzel algorithm.
This commit is contained in:
+5
-5
@@ -62,11 +62,11 @@ public:
|
||||
void reset();
|
||||
|
||||
private:
|
||||
float32_t m_coeff;
|
||||
float32_t m_threshold;
|
||||
uint16_t m_count;
|
||||
float32_t m_q0;
|
||||
float32_t m_q1;
|
||||
q31_t m_coeffDivTwo;
|
||||
q31_t m_threshold;
|
||||
uint16_t m_count;
|
||||
q31_t m_q0;
|
||||
q31_t m_q1;
|
||||
CTCSSState m_result;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user