From bf8c4b2fd284b4331ed1a8b965efe6ac1eaa5560 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 24 Feb 2016 07:30:26 +0000 Subject: [PATCH] Small tweaks to System Fusion for later. --- YSFConvolution.cpp | 2 +- YSFDefines.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/YSFConvolution.cpp b/YSFConvolution.cpp index 8de7045..9d62ba8 100644 --- a/YSFConvolution.cpp +++ b/YSFConvolution.cpp @@ -40,7 +40,7 @@ m_dp(NULL) { m_metrics1 = new uint16_t[16U]; m_metrics2 = new uint16_t[16U]; - m_decisions = new uint64_t[100U]; + m_decisions = new uint64_t[360U]; } CYSFConvolution::~CYSFConvolution() diff --git a/YSFDefines.h b/YSFDefines.h index 1c83fd2..ea45778 100644 --- a/YSFDefines.h +++ b/YSFDefines.h @@ -32,6 +32,16 @@ const unsigned char YSF_DT_TERMINATOR_CHANNEL = 0x80U; const unsigned char YSF_CKSUM_OK = 0x01U; +const unsigned char YSF_FI_HEADER = 0x00U; +const unsigned char YSF_FI_COMMUNICATIONS = 0x40U; +const unsigned char YSF_FI_TERMINATOR = 0x80U; +const unsigned char YSF_FI_TEST = 0xC0U; + +const unsigned char YSF_DT_VD_MODE1 = 0x00U; +const unsigned char YSF_DT_DATA_FR_MODE = 0x10U; +const unsigned char YSF_DT_VD_MODE2 = 0x20U; +const unsigned char YSF_DT_VOICE_FR_MODE = 0x30U; + const unsigned char YSF_CM_GROUP = 0x00U; const unsigned char YSF_CM_INDIVIDUAL = 0x0CU;