Got WiresX bug, release bump!

pull/1/head
Tom Early 5 years ago
parent ee8c1b35df
commit 1ac8348363

@ -96,7 +96,6 @@ bool CProtocol::Initialize(const char *type, const uint16 port, const bool has_i
}
#endif
std::cout << "Initializing protocol on port " << port << std::endl;
try {
m_Future = std::async(std::launch::async, &CProtocol::Thread, this);
}
@ -108,7 +107,7 @@ bool CProtocol::Initialize(const char *type, const uint16 port, const bool has_i
return false;
}
// done
std::cout << "Initialized " << (type ? type : "DMR") << " protocol on port " << port << std::endl;
return true;
}

@ -74,7 +74,6 @@ bool CWiresxCmdHandler::Init(void)
// reset stop flag
keep_running = true;
std::cout << "==============> Launching WiresX Command Handler" << std::endl;
try
{
m_Future = std::async(std::launch::async, &CWiresxCmdHandler::Thread, this);
@ -104,12 +103,10 @@ void CWiresxCmdHandler::Close(void)
void CWiresxCmdHandler::Thread()
{
std::cout << "*********Starting WiresX Command Handler*********" << std:: endl;
while (keep_running)
{
Task();
}
std::cout << "*********WiresX Command Handler has stopped*********" << std::endl;
}
////////////////////////////////////////////////////////////////////////////////////////

@ -181,7 +181,7 @@ void CYsfProtocol::Task(void)
}
else if ( IsValidwirexPacket(Buffer, &Fich, &Callsign, &iWiresxCmd, &iWiresxArg) )
{
std::cout << "Got a WiresX command from " << Callsign << " at " << Ip << " cmd=" <<iWiresxCmd << " arg=" << iWiresxArg << std::endl;
// std::cout << "Got a WiresX command from " << Callsign << " at " << Ip << " cmd=" <<iWiresxCmd << " arg=" << iWiresxArg << std::endl;
WiresxCmd = CWiresxCmd(Ip, Callsign, iWiresxCmd, iWiresxArg);
// and post it to hadler's queue
m_WiresxCmdHandler.GetCmdQueue()->push(WiresxCmd);

@ -66,7 +66,7 @@
#define VERSION_MAJOR 2
#define VERSION_MINOR 4
#define VERSION_REVISION 27
#define VERSION_REVISION 28
// global ------------------------------------------------------

Loading…
Cancel
Save

Powered by TurnKey Linux.