Fixed modem startup problem

This commit is contained in:
Luca Marchesano
2018-06-30 14:10:41 +02:00
committed by GitHub
parent 0833dba9bd
commit 5e4e37f8e5
5 changed files with 9 additions and 18 deletions
+1 -2
View File
@@ -69,7 +69,6 @@ m_txCount(0U)
m_modFilter.pState = m_modState;
}
void CYSFTX::process()
{
if (m_buffer.getData() == 0U && m_poLen == 0U && m_txCount == 0U)
@@ -93,7 +92,7 @@ void CYSFTX::process()
if (m_poLen > 0U) {
// Transmit YSF data.
uint16_t space = io.getSpace();
while (space > (4U * YSF_RADIO_SYMBOL_LENGTH)) {
uint8_t c = m_poBuffer[m_poPtr++];
writeByte(c);