From a9f4e279d5ebb762b2bf96ed01590ab0925d0aef Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 4 Feb 2016 18:14:59 +0000 Subject: [PATCH] Restore D-Star transmit amplitude. --- DStarTX.cpp | 4 ++-- SerialPort.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DStarTX.cpp b/DStarTX.cpp index ce704a1..1cfdb4f 100644 --- a/DStarTX.cpp +++ b/DStarTX.cpp @@ -30,8 +30,8 @@ const uint8_t FRAME_SYNC[] = {0xEAU, 0xA6U, 0x00U}; static q15_t DSTAR_GMSK_FILTER[] = {8, 104, 760, 3158, 7421, 9866, 7421, 3158, 760, 104, 8, 0}; const uint16_t DSTAR_GMSK_FILTER_LEN = 12U; -q15_t DSTAR_1[] = { 1600, 1600, 1600, 1600, 1600}; -q15_t DSTAR_0[] = {-1600, -1600, -1600, -1600, -1600}; +q15_t DSTAR_1[] = { 1684, 1684, 1684, 1684, 1684}; +q15_t DSTAR_0[] = {-1684, -1684, -1684, -1684, -1684}; const uint8_t BIT_MASK_TABLE[] = {0x80U, 0x40U, 0x20U, 0x10U, 0x08U, 0x04U, 0x02U, 0x01U}; diff --git a/SerialPort.cpp b/SerialPort.cpp index 7ffa2ce..640f1da 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -56,7 +56,7 @@ const uint8_t MMDVM_DEBUG4 = 0xF4U; const uint8_t MMDVM_DEBUG5 = 0xF5U; const uint8_t MMDVM_SAMPLES = 0xF8U; -const uint8_t HARDWARE[] = "MMDVM 20160202 (D-Star/DMR/System Fusion)"; +const uint8_t HARDWARE[] = "MMDVM 20160204 (D-Star/DMR/System Fusion)"; const uint8_t PROTOCOL_VERSION = 1U;