Fix bug in bug.

This commit is contained in:
Jonathan Naylor
2020-07-06 10:20:40 +01:00
parent f42f6f07c4
commit 3cc77c5c57

View File

@@ -946,7 +946,7 @@ void CSerialModem::clock(unsigned int ms)
if (m_fmSpace > 1U && !m_txFMData.isEmpty()) {
unsigned int len = 0U;
m_txFMData.getData(&len, 1U);
m_txFMData.getData((unsigned char*)&len, sizeof(unsigned int));
m_txFMData.getData(m_buffer, len);
if (m_trace)