From d08a3690b0716e9f3552b9b8d7408458eba81cc0 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 27 Apr 2020 13:07:03 +0100 Subject: [PATCH] Double the signal level to the CTCSS decoder. --- FMCTCSSRX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FMCTCSSRX.cpp b/FMCTCSSRX.cpp index 00eebc6..9e81d3c 100644 --- a/FMCTCSSRX.cpp +++ b/FMCTCSSRX.cpp @@ -93,7 +93,7 @@ m_rxLevelInverse(1) uint8_t CFMCTCSSRX::setParams(uint8_t frequency, uint8_t threshold, uint8_t level) { - m_rxLevelInverse = 255 / q15_t(level); + m_rxLevelInverse = 511 / q15_t(level); m_coeffDivTwo = 0;