mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix whitespace and tabbing. Fix missing closing brace.
This commit is contained in:
@@ -350,7 +350,7 @@ bool CP25Control::writeModem(unsigned char* data, unsigned int len)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (duid == P25_DUID_TSDU) {
|
} else if (duid == P25_DUID_TSDU) {
|
||||||
if (m_rfState != RS_RF_DATA) {
|
if (m_rfState != RS_RF_DATA) {
|
||||||
m_rfPDUCount = 0U;
|
m_rfPDUCount = 0U;
|
||||||
m_rfPDUBits = 0U;
|
m_rfPDUBits = 0U;
|
||||||
@@ -429,7 +429,6 @@ bool CP25Control::writeModem(unsigned char* data, unsigned int len)
|
|||||||
|
|
||||||
m_rfState = RS_RF_LISTENING;
|
m_rfState = RS_RF_LISTENING;
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
} else if (duid == P25_DUID_TERM || duid == P25_DUID_TERM_LC) {
|
} else if (duid == P25_DUID_TERM || duid == P25_DUID_TERM_LC) {
|
||||||
if (m_rfState == RS_RF_AUDIO) {
|
if (m_rfState == RS_RF_AUDIO) {
|
||||||
writeNetwork(m_rfLDU, m_lastDUID, true);
|
writeNetwork(m_rfLDU, m_lastDUID, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user