mirror of https://github.com/g4klx/MMDVM.git
remove Debug info
This commit is contained in:
parent
d2d50e21e1
commit
23cf22d87d
|
@ -109,7 +109,6 @@ uint8_t CFMCTCSSRX::setParams(uint8_t frequency, uint8_t threshold)
|
|||
return 0U;
|
||||
}
|
||||
|
||||
char bla[256];
|
||||
CTCSSState CFMCTCSSRX::process(q15_t sample)
|
||||
{
|
||||
m_result = m_result & (~CTS_READY);
|
||||
|
@ -122,7 +121,6 @@ CTCSSState CFMCTCSSRX::process(q15_t sample)
|
|||
else
|
||||
sample31 -= rxLevel >> 1;
|
||||
sample31 /= rxLevel;
|
||||
|
||||
|
||||
q31_t q2 = m_q1;
|
||||
m_q1 = m_q0;
|
||||
|
@ -154,8 +152,6 @@ CTCSSState CFMCTCSSRX::process(q15_t sample)
|
|||
|
||||
// value = m_q0 * m_q0 + m_q1 * m_q1 - m_q0 * m_q1 * m_coeffDivTwo * 2
|
||||
q31_t value = t2 + t4 - t9;
|
||||
sprintf(bla, "CTCSS Value / Threshold %d %d", value, m_threshold);
|
||||
DEBUG1(bla);
|
||||
m_result = m_result | CTS_READY;
|
||||
if (value >= m_threshold)
|
||||
m_result = m_result | CTS_VALID;
|
||||
|
|
Loading…
Reference in New Issue