mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Add data tag in the correct place.
This commit is contained in:
@@ -526,6 +526,8 @@ void CDStarControl::writeNetwork()
|
|||||||
|
|
||||||
blankDTMF(data + 2U);
|
blankDTMF(data + 2U);
|
||||||
|
|
||||||
|
data[1U] = TAG_DATA;
|
||||||
|
|
||||||
// Insert silence and reject if in the past
|
// Insert silence and reject if in the past
|
||||||
bool ret = insertSilence(data + 1U, n);
|
bool ret = insertSilence(data + 1U, n);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
@@ -543,8 +545,6 @@ void CDStarControl::writeNetwork()
|
|||||||
m_packetTimer.start();
|
m_packetTimer.start();
|
||||||
m_netFrames++;
|
m_netFrames++;
|
||||||
|
|
||||||
data[1U] = TAG_DATA;
|
|
||||||
|
|
||||||
#if defined(DUMP_DSTAR)
|
#if defined(DUMP_DSTAR)
|
||||||
writeFile(data + 1U, length - 1U);
|
writeFile(data + 1U, length - 1U);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user