From b5090e02f2d6a3e7d6c9e12d9103b121f651aa91 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 10 Apr 2021 17:10:26 +0000 Subject: [PATCH] fix incorrect function reference; --- dmr/Slot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dmr/Slot.cpp b/dmr/Slot.cpp index 979f8a7f..b821639d 100644 --- a/dmr/Slot.cpp +++ b/dmr/Slot.cpp @@ -478,10 +478,9 @@ void Slot::setSiteData(uint32_t netId, uint8_t siteId, uint8_t channelId, uint32 m_siteData = SiteData(SITE_MODEL_SMALL, netId, siteId, 3U, false); std::vector entries = m_idenTable->list(); - uint8_t i = 0U; for (auto it = entries.begin(); it != entries.end(); ++it) { lookups::IdenTable entry = *it; - if (entry.channelId == channelId) { + if (entry.channelId() == channelId) { m_idenEntry = entry; break; }