mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-04 14:08:33 +00:00
Use fixed point for the Goertzel algorithm.
This commit is contained in:
parent
57730d7f81
commit
526a53cd8c
2 changed files with 96 additions and 71 deletions
10
FMCTCSSRX.h
10
FMCTCSSRX.h
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue