LAPTOP-SNT8I5JK\Boounion
2025-08-07 048314c011c688bb4f0f45079f978d3564f8276f
1.从配置读出的enable,初始化时写给efem
已修改1个文件
12 ■■■■■ 文件已修改
SourceCode/Bond/Servo/CLoadPort.cpp 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) {