瀏覽代碼

转把自学习安全间隔改为0.1v

Signed-off-by: kevin <huhui@sharkgulf.com>
kevin 2 年之前
父節點
當前提交
4fd23ab963
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Applications/foc/motor/throttle.c
  2. 1 1
      Project/MC124.uvoptx

+ 1 - 1
Applications/foc/motor/throttle.c

@@ -15,7 +15,7 @@ static bool _auto_detect_sv = true;
 static int  _auto_detect_sv_cnt = 0;
 static float _auto_detect_sv_totle = 0;
 static int _detect_release_cnt = 0;
-#define CONFIG_SAFE_INV_V   0.06f
+#define CONFIG_SAFE_INV_V   0.1f
 static throttle_torque_t _throttle;
 
 void throttle_torque_reset(void) {

+ 1 - 1
Project/MC124.uvoptx

@@ -77,7 +77,7 @@
         <tvExpOptDlg>0</tvExpOptDlg>
         <IsCurrentTarget>1</IsCurrentTarget>
       </OPTFL>
-      <CpuCode>0</CpuCode>
+      <CpuCode>255</CpuCode>
       <DebugOpt>
         <uSim>0</uSim>
         <uTrg>1</uTrg>