mrDarker
2025-08-09 a8fb417ef1fb696723c8b8d5a340e8ca2e0312ae
SourceCode/Bond/Servo/CLoadPort.cpp
@@ -350,6 +350,18 @@
   {
      CEquipment::onTimer(nTimerid);
      // 从配置读出的enable,初始化时写给efem
      static int i_enable[4] = { 0 };
      if ((++i_enable[m_nIndex]) == 10 + m_nIndex) {
         eablePort(m_bEnable, [&](int code) -> int {
            LOGI("<LoadPort-%d>eablePort:code=%d", m_nIndex, code);
            return 0;
            });
      }
      // 模拟测试
      /*
      if (m_nIndex == 0) {