优化通信代码,修复状态机的bug
This commit is contained in:
@@ -317,4 +317,10 @@ char LowerCommManager::getBreakerOption(char cmd)
|
||||
return 0xAA;
|
||||
else
|
||||
return 0x00;
|
||||
}
|
||||
|
||||
//TODO:根据心跳检查连接状态
|
||||
bool LowerCommManager::checkConnection()
|
||||
{
|
||||
m_pm->connectState =5;
|
||||
}
|
||||
Reference in New Issue
Block a user