Add one byte to DMR ID lookup
This commit is contained in:
parent
a81c03b0ef
commit
bbd72df6fc
|
@ -92,7 +92,7 @@ void CDMRLookup::stop()
|
||||||
|
|
||||||
void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry)
|
void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry)
|
||||||
{
|
{
|
||||||
if (id == 0xFFFFFFU) {
|
if (id == 0xFFFFFFFU) {
|
||||||
entry->clear();
|
entry->clear();
|
||||||
entry->set(keyCALLSIGN, "ALL");
|
entry->set(keyCALLSIGN, "ALL");
|
||||||
return;
|
return;
|
||||||
|
@ -115,7 +115,7 @@ std::string CDMRLookup::find(unsigned int id)
|
||||||
{
|
{
|
||||||
std::string callsign;
|
std::string callsign;
|
||||||
|
|
||||||
if (id == 0xFFFFFFU)
|
if (id == 0xFFFFFFFU)
|
||||||
return std::string("ALL");
|
return std::string("ALL");
|
||||||
|
|
||||||
class CUserDBentry entry;
|
class CUserDBentry entry;
|
||||||
|
|
Loading…
Reference in New Issue