mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 16:25:45 +08:00
Accept rejected or invalid transmissions as being 'in' despite not being
relayed. Also give extra headroom on the convolution decoders.
This commit is contained in:
@@ -434,9 +434,9 @@ bool CDStarControl::writeModem(unsigned char *data, unsigned int len)
|
||||
return false;
|
||||
} else if (type == TAG_DATA1) {
|
||||
if (m_rfState == RS_RF_REJECTED) {
|
||||
return false;
|
||||
return true;
|
||||
} else if (m_rfState == RS_RF_INVALID) {
|
||||
return false;
|
||||
return true;
|
||||
} else if (m_rfState == RS_RF_LISTENING) {
|
||||
// The sync is regenerated by the modem so can do exact match
|
||||
if (::memcmp(data + 1U + DSTAR_VOICE_FRAME_LENGTH_BYTES, DSTAR_SYNC_BYTES, DSTAR_DATA_FRAME_LENGTH_BYTES) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user