Reset lastFrameValid when used up.

This commit is contained in:
Jonathan Naylor
2016-08-09 17:20:26 +01:00
parent ad4cb859b5
commit 443c363b1c
2 changed files with 5 additions and 1 deletions

View File

@@ -848,6 +848,8 @@ void CDStarControl::insertSilence(unsigned int count)
writeQueueDataNet(m_lastFrame);
}
} else {
m_lastFrameValid = false;
if (n == 0U)
writeQueueDataNet(DSTAR_NULL_FRAME_SYNC_BYTES);
else