From 6a1c06576b7aa723e7c9685a5bfb4c1e540982b1 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Wed, 12 Apr 2017 23:26:48 -0300 Subject: [PATCH] Reverting new RX filter for D-Star --- IO.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IO.cpp b/IO.cpp index 0472c0d..22163d9 100644 --- a/IO.cpp +++ b/IO.cpp @@ -37,9 +37,9 @@ static q15_t C4FSK_FILTER[] = {401, 104, -340, -731, -847, -553, 112, 909, 1472, const uint16_t C4FSK_FILTER_LEN = 42U; #endif -// Generated using fir1(31, 0.25) in MATLAB -static q15_t GMSK_FILTER[] = {-21,-60,-84,-52,78,273,387,221,-301,-974,-1305,-731,1017,3642,6306,7987,7987,6306,3642,1017,-731,-1305,-974,-301,221,387,273,78,-52,-84,-60,-21}; -const uint16_t GMSK_FILTER_LEN = 32U; +// Generated using gaussfir(0.5, 4, 5) in MATLAB +static q15_t GMSK_FILTER[] = {8, 104, 760, 3158, 7421, 9866, 7421, 3158, 760, 104, 8, 0}; +const uint16_t GMSK_FILTER_LEN = 12U; // One symbol boxcar filter static q15_t P25_FILTER[] = {3000, 3000, 3000, 3000, 3000, 0};