mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-06 06:53:40 +00:00
Merge pull request #144 from BeigeBox/fix/stale-slot-after-rewrite
Fix stale slot number after RF rewrite
This commit is contained in:
commit
65eaf779b0
1 changed files with 2 additions and 0 deletions
|
|
@ -620,6 +620,7 @@ int CDMRGateway::run()
|
|||
}
|
||||
|
||||
if (result == PROCESS_RESULT::MATCHED) {
|
||||
slotNo = data.getSlotNo();
|
||||
if (m_extStatus[slotNo].m_status == DMRGW_STATUS::NONE || (
|
||||
m_extStatus[slotNo].m_status == DMRGW_STATUS::DMRNETWORK &&
|
||||
m_extStatus[slotNo].m_dmrNetwork == i)
|
||||
|
|
@ -650,6 +651,7 @@ int CDMRGateway::run()
|
|||
}
|
||||
|
||||
if (result == PROCESS_RESULT::MATCHED) {
|
||||
slotNo = data.getSlotNo();
|
||||
if (m_extStatus[slotNo].m_status == DMRGW_STATUS::NONE || (
|
||||
m_extStatus[slotNo].m_status == DMRGW_STATUS::DMRNETWORK &&
|
||||
m_extStatus[slotNo].m_dmrNetwork == i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue