Merge pull request #144 from BeigeBox/fix/stale-slot-after-rewrite

Fix stale slot number after RF rewrite
This commit is contained in:
Jonathan Naylor 2026-04-05 16:25:33 +01:00 committed by GitHub
commit 65eaf779b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)