Fill with silence YSF frames for short YSF transmissions

This commit is contained in:
Andy CA6JAU
2018-07-28 22:09:51 -04:00
parent 5ba28e4771
commit 3acd89fe9d
7 changed files with 34 additions and 12 deletions
+11
View File
@@ -687,6 +687,17 @@ void CModeConv::putAMBE2DMR(unsigned int dat_a, unsigned int dat_b, unsigned int
m_dmrN += 1U;
}
void CModeConv::putDummyYSF()
{
// We have a total of 5 VCH sections
for (unsigned int j = 0U; j < 5U; j++) {
m_DMR.addData(&TAG_DATA, 1U);
m_DMR.addData(DMR_SILENCE, 9U);
m_dmrN += 1U;
}
}
void CModeConv::putDMRHeader()
{
unsigned char vch[13U];