1
0
Fork 0

Merge pull request #111 from lucamarche-iz1mlt/master

Prints to the log file
ycs232-kbc
Jonathan Naylor 7 years ago committed by GitHub
commit a5e1a8fde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -773,6 +773,8 @@ void CYSFGateway::startupLinking()
} }
} }
} }
if (m_startup.empty())
LogMessage("No connection startup");
} }
void CYSFGateway::readFCSRoomsFile(const std::string& filename) void CYSFGateway::readFCSRoomsFile(const std::string& filename)

@ -166,7 +166,11 @@ void CYSFNetwork::clock(unsigned int ms)
return; return;
if (::memcmp(buffer, "YSFP", 4U) == 0 && !m_linked) { if (::memcmp(buffer, "YSFP", 4U) == 0 && !m_linked) {
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()); LogMessage("Linked to %s", m_name.c_str());
m_linked = true; m_linked = true;
} }

Loading…
Cancel
Save