Quellcode durchsuchen

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

Signed-off-by: kevin <huhui@sharkgulf.com>
kevin vor 2 Jahren
Ursprung
Commit
4fd23ab963
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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>