Skip to content

Commit

Permalink
Camel case findWithName()
Browse files Browse the repository at this point in the history
  • Loading branch information
KD4Z committed Apr 13, 2018
1 parent 4737fcb commit 08f8a07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DMRLookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion DMRLookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CDMRLookup : public CThread {
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);

Expand Down
2 changes: 1 addition & 1 deletion DMRSlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 08f8a07

Please sign in to comment.