瀏覽代碼

去掉电机温感固定0度

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 3 年之前
父節點
當前提交
2d39cabcbd
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Applications/foc/samples.c

+ 0 - 1
Applications/foc/samples.c

@@ -211,7 +211,6 @@ void sample_motor_temp(void) {
 	motor_temp.value = ntc_get_motor_temp(r);
 	LowPass_Filter(motor_temp.filted_value, motor_temp.value, motor_temp.lowpass);
 #endif
-	motor_temp.filted_value = 0;
 }
 
 void sample_mos_temp(void) {