重新组网是擦除配置区再去组

This commit is contained in:
cdyong 2015-12-18 13:43:46 +00:00
parent c4c945fdab
commit 2a956006d9
1 changed files with 2 additions and 2 deletions

View File

@ -573,12 +573,12 @@ void TinyClient::Ping()
auto tc = TinyConfig::Current; auto tc = TinyConfig::Current;
memset(tc->Mac, 0, 5); memset(tc->Mac, 0, 5);
tc->Save(); tc->Clear();
Server = 0; Server = 0;
Sys.Reset(); Sys.Reset();
Server = 0; Server = 0;
//Password.SetLength(0); //Password.SetLength(0);
//return; //return;