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;
|
return 0U;
|
||||||
}
|
}
|
||||||
|
|
||||||
char bla[256];
|
|
||||||
CTCSSState CFMCTCSSRX::process(q15_t sample)
|
CTCSSState CFMCTCSSRX::process(q15_t sample)
|
||||||
{
|
{
|
||||||
m_result = m_result & (~CTS_READY);
|
m_result = m_result & (~CTS_READY);
|
||||||
|
@ -123,7 +122,6 @@ CTCSSState CFMCTCSSRX::process(q15_t sample)
|
||||||
sample31 -= rxLevel >> 1;
|
sample31 -= rxLevel >> 1;
|
||||||
sample31 /= rxLevel;
|
sample31 /= rxLevel;
|
||||||
|
|
||||||
|
|
||||||
q31_t q2 = m_q1;
|
q31_t q2 = m_q1;
|
||||||
m_q1 = m_q0;
|
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
|
// value = m_q0 * m_q0 + m_q1 * m_q1 - m_q0 * m_q1 * m_coeffDivTwo * 2
|
||||||
q31_t value = t2 + t4 - t9;
|
q31_t value = t2 + t4 - t9;
|
||||||
sprintf(bla, "CTCSS Value / Threshold %d %d", value, m_threshold);
|
|
||||||
DEBUG1(bla);
|
|
||||||
m_result = m_result | CTS_READY;
|
m_result = m_result | CTS_READY;
|
||||||
if (value >= m_threshold)
|
if (value >= m_threshold)
|
||||||
m_result = m_result | CTS_VALID;
|
m_result = m_result | CTS_VALID;
|
||||||
|
|
Loading…
Reference in New Issue