Restore previous C4FSK filter.

This commit is contained in:
Jonathan Naylor 2016-03-10 18:16:01 +00:00
parent ef58f7ed36
commit 7d77f20ee9
2 changed files with 5 additions and 3 deletions

6
IO.cpp
View File

@ -21,8 +21,10 @@
#include "IO.h"
// Generated using rcosdesign(0.2, 8, 5, 'sqrt') in MATLAB
static q15_t C4FSK_FILTER[] = {-770, 2667, 6995, 11237, 14331, 15464, 14331, 11237, 6995, 2667, -770, 0};
const uint16_t C4FSK_FILTER_LEN = 12U;
static q15_t C4FSK_FILTER[] = {401, 104, -340, -731, -847, -553, 112, 909, 1472, 1450, 683, -675, -2144, -3040, -2706, -770, 2667, 6995,
11237, 14331, 15464, 14331, 11237, 6995, 2667, -770, -2706, -3040, -2144, -675, 683, 1450, 1472, 909, 112,
-553, -847, -731, -340, 104, 401, 0};
const uint16_t C4FSK_FILTER_LEN = 42U;
// 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};

View File

@ -57,7 +57,7 @@ const uint8_t MMDVM_DEBUG4 = 0xF4U;
const uint8_t MMDVM_DEBUG5 = 0xF5U;
const uint8_t MMDVM_SAMPLES = 0xF8U;
const uint8_t HARDWARE[] = "MMDVM 20160309 (D-Star/DMR/System Fusion)";
const uint8_t HARDWARE[] = "MMDVM 20160310 (D-Star/DMR/System Fusion)";
const uint8_t PROTOCOL_VERSION = 1U;