mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-05-07 13:37:48 +00:00
Don't square the threshold value.
This commit is contained in:
parent
5ed8eeda6f
commit
ae58f8eb64
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue