소스 검색

去掉电机温感固定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) {