Simplify mode changes.

This commit is contained in:
Jonathan Naylor
2016-02-02 18:17:36 +00:00
parent 2e43624ea2
commit aa1a45394a
6 changed files with 132 additions and 117 deletions

View File

@@ -85,7 +85,7 @@ void CDMRSlot::writeModem(unsigned char *data)
return;
}
if (data[0U] == TAG_LOST && m_state == RS_LATE_ENTRY) {
if (data[0U] == TAG_LOST) {
m_state = RS_LISTENING;
return;
}