Merge pull request #111 from lucamarche-iz1mlt/master
Prints to the log file
This commit is contained in:
commit
a5e1a8fde9
2 changed files with 7 additions and 1 deletions
|
@ -773,6 +773,8 @@ void CYSFGateway::startupLinking()
|
|||
}
|
||||
}
|
||||
}
|
||||
if (m_startup.empty())
|
||||
LogMessage("No connection startup");
|
||||
}
|
||||
|
||||
void CYSFGateway::readFCSRoomsFile(const std::string& filename)
|
||||
|
|
|
@ -166,7 +166,11 @@ void CYSFNetwork::clock(unsigned int ms)
|
|||
return;
|
||||
|
||||
if (::memcmp(buffer, "YSFP", 4U) == 0 && !m_linked) {
|
||||
LogMessage("Linked to %s", m_name.c_str());
|
||||
if (strcmp(m_name.c_str(),"MMDVM")== 0)
|
||||
LogMessage("Link successful to %s", m_name.c_str());
|
||||
else
|
||||
LogMessage("Linked to %s", m_name.c_str());
|
||||
|
||||
m_linked = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue