浏览代码

change 25E cycle

chenxiaowei 1 年之前
父节点
当前提交
1512bebf30
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/controller/controller_changan_shenlan_v2/main.cpp

+ 3 - 2
src/controller/controller_changan_shenlan_v2/main.cpp

@@ -534,11 +534,12 @@ void ExecSend()
     xraw.set_bext(false);
     xraw.set_bremote(false);
     xraw.set_len(32);
-    if(nCount == 10)
+//    if(nCount == 10)
+    if(nCount%2 == 1) //25Ede zhouqi shi 20ms
     {
         iv::can::canraw * pxraw25E = xmsg.add_rawmsg();
         pxraw25E->CopyFrom(xraw);
-        nCount = 0;
+//        nCount = 0;
     }
     xmsg.set_channel(0);
     xmsg.set_index(gnIndex);