mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-11 14:24:11 +02:00
Don't square the threshold value.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user