Fix whitespace and tabbing. Fix missing closing brace.

This commit is contained in:
Bryan Biedenkapp
2018-05-14 10:45:49 -04:00
parent 471e084723
commit e903c1edea
2 changed files with 71 additions and 72 deletions

View File

@@ -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);