diff --git a/Modem.cpp b/Modem.cpp index 1ed2dee..daee6c3 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -869,7 +869,7 @@ void CModem::clock(unsigned int ms) m_pocsagSpace--; } - if (m_ax25Space > 1U && !m_txAX25Data.isEmpty()) { + if (m_ax25Space > 0U && !m_txAX25Data.isEmpty()) { unsigned char len = 0U; m_txAX25Data.getData((unsigned char*)&len, sizeof(unsigned int)); m_txAX25Data.getData(m_buffer, len); @@ -883,7 +883,7 @@ void CModem::clock(unsigned int ms) m_playoutTimer.start(); - m_ax25Space -= len; + m_ax25Space = 0U; } if (!m_txTransparentData.isEmpty()) { diff --git a/Version.h b/Version.h index 5f48e8f..9bb9c4a 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20200621"; +const char* VERSION = "20200624"; #endif