Don't square the threshold value.

This commit is contained in:
Jonathan Naylor 2020-04-20 13:28:07 +01:00
parent 5ed8eeda6f
commit ae58f8eb64
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ uint8_t CFMCTCSSRX::setParams(uint8_t frequency, uint8_t threshold)
if (m_coeff == 0.0F)
return 4U;
m_threshold = float32_t(threshold * threshold);
m_threshold = float32_t(threshold);
return 0U;
}

View File

@ -101,7 +101,7 @@ const uint8_t MMDVM_DEBUG5 = 0xF5U;
#define HW_TYPE "MMDVM"
#endif
#define DESCRIPTION "20200418 (D-Star/DMR/System Fusion/P25/NXDN/POCSAG/FM)"
#define DESCRIPTION "20200420 (D-Star/DMR/System Fusion/P25/NXDN/POCSAG/FM)"
#if defined(GITVERSION)
#define concat(h, a, b, c) h " " a " " b " GitID #" c ""