From 08f8a07945f8264c421a768ba1154336dcce1d7d Mon Sep 17 00:00:00 2001 From: KD4Z Date: Fri, 13 Apr 2018 17:40:54 -0400 Subject: [PATCH] Camel case findWithName() --- DMRLookup.cpp | 4 ++-- DMRLookup.h | 2 +- DMRSlot.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DMRLookup.cpp b/DMRLookup.cpp index 8842a60..8fc67c3 100644 --- a/DMRLookup.cpp +++ b/DMRLookup.cpp @@ -81,7 +81,7 @@ void CDMRLookup::stop() wait(); } -std::string CDMRLookup::findwithname(unsigned int id) +std::string CDMRLookup::findWithName(unsigned int id) { std::string callsign; @@ -92,7 +92,7 @@ std::string CDMRLookup::findwithname(unsigned int id) try { callsign = m_table.at(id); - LogDebug("Findwithname Found =%s",callsign.c_str()); + LogDebug("FindWithName =%s",callsign.c_str()); } catch (...) { char text[10U]; diff --git a/DMRLookup.h b/DMRLookup.h index 54b78e7..1156270 100644 --- a/DMRLookup.h +++ b/DMRLookup.h @@ -35,7 +35,7 @@ public: virtual void entry(); std::string find(unsigned int id); - std::string findwithname(unsigned int id); + std::string findWithName(unsigned int id); bool exists(unsigned int id); diff --git a/DMRSlot.cpp b/DMRSlot.cpp index 913a97f..f50a783 100644 --- a/DMRSlot.cpp +++ b/DMRSlot.cpp @@ -1069,7 +1069,7 @@ void CDMRSlot::writeNetwork(const CDMRData& dmrData) setShortLC(m_slotNo, dstId, flco, ACTIVITY_VOICE); std::string src = m_lookup->find(srcId); std::string dst = m_lookup->find(dstId); - std::string cn = m_lookup->findwithname(srcId); + std::string cn = m_lookup->findWithName(srcId); m_display->writeDMR(m_slotNo, cn, flco == FLCO_GROUP, dst, "N"); #if defined(DUMP_DMR)