Add MMDVM lock file based on an idea by DB1OFH.

This commit is contained in:
Jonathan Naylor
2018-10-10 20:05:24 +01:00
parent 867e1745d8
commit edaf37101a
6 changed files with 93 additions and 4 deletions

View File

@@ -826,6 +826,8 @@ bool CDMRSlot::writeModem(unsigned char *data, unsigned int len)
return false;
if (m_rfN == m_lastrfN)
return false;
if (m_rfN != (m_lastrfN + 1U))
return false;
m_lastrfN = m_rfN;
// Regenerate the EMB