mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 16:55:52 +08:00
Fix bug in bug.
This commit is contained in:
@@ -946,7 +946,7 @@ void CSerialModem::clock(unsigned int ms)
|
|||||||
|
|
||||||
if (m_fmSpace > 1U && !m_txFMData.isEmpty()) {
|
if (m_fmSpace > 1U && !m_txFMData.isEmpty()) {
|
||||||
unsigned int len = 0U;
|
unsigned int len = 0U;
|
||||||
m_txFMData.getData(&len, 1U);
|
m_txFMData.getData((unsigned char*)&len, sizeof(unsigned int));
|
||||||
m_txFMData.getData(m_buffer, len);
|
m_txFMData.getData(m_buffer, len);
|
||||||
|
|
||||||
if (m_trace)
|
if (m_trace)
|
||||||
|
|||||||
Reference in New Issue
Block a user