删除不必要的日志输出

This commit is contained in:
cdyong 2015-12-19 07:02:32 +00:00
parent a0371bfadf
commit 68f20d2cb7
1 changed files with 3 additions and 8 deletions

View File

@ -415,7 +415,7 @@ void TinyClient::DisJoin()
{
TS("TinyClient::DisJoin");
debug_printf("TinyClient::DisJoin 退网 \r\n");
//debug_printf("TinyClient::DisJoin 退网 \r\n");
TinyMessage msg;
msg.Code = 2;
@ -449,7 +449,7 @@ bool TinyClient::OnDisjoin(const TinyMessage& msg)
Cfg->LoadDefault();
Cfg->Save();
debug_printf("设备退网3秒后重启\r\n");
// debug_printf("设备退网3秒后重启\r\n");
Sys.Sleep(3000);
Sys.Reset();
@ -506,12 +506,7 @@ bool TinyClient::OnPing(const TinyMessage& msg)
TS("TinyClient::OnPing");
// 忽略响应消息
if(!msg.Reply)
{
debug_printf("TinyClient::OnPing Length=%d\r\n", msg.Length);
return true;
}
if(!msg.Reply)return true;
if(msg.Src != Server) return true;