优化通信代码,修复状态机的bug

This commit is contained in:
zjk
2025-04-09 15:11:31 +08:00
parent bac5f5291e
commit 785a47ff99
11 changed files with 219 additions and 235 deletions
+6
View File
@@ -317,4 +317,10 @@ char LowerCommManager::getBreakerOption(char cmd)
return 0xAA;
else
return 0x00;
}
//TODO:根据心跳检查连接状态
bool LowerCommManager::checkConnection()
{
m_pm->connectState =5;
}