remove Debug info

This commit is contained in:
Geoffrey Merck 2020-04-25 23:07:41 +02:00
parent d2d50e21e1
commit 23cf22d87d
1 changed files with 0 additions and 4 deletions

View File

@ -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;