mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00: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:
parent
a8fe55acc4
commit
50337639b2
8 changed files with 17 additions and 17 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue