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;