mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-02 14:40:02 +01:00
Fix bug in bug.
This commit is contained in:
parent
f42f6f07c4
commit
3cc77c5c57
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue