mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Camel case findWithName()
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user