Reset the sample count at the beginning of each transmission.

This commit is contained in:
Jonathan Naylor 2016-03-22 06:36:47 +00:00
parent 3665d02fe7
commit 7907ce6911
3 changed files with 9 additions and 0 deletions

View file

@ -61,6 +61,8 @@ void CYSFTX::process()
if (m_poLen == 0U) {
if (!m_tx) {
m_count = 0U;
for (uint16_t i = 0U; i < m_txDelay; i++)
m_poBuffer[m_poLen++] = YSF_START_SYNC;
} else {