Ver Fonte

修改注释错误

Signed-off-by: kevin <huhui@sharkgulf.com>
kevin há 2 anos atrás
pai
commit
fe32e57acc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Applications/foc/core/controller.c

+ 1 - 1
Applications/foc/core/controller.c

@@ -26,7 +26,7 @@ void mot_contrl_init(mot_contrl_t *ctrl) {
 	//ctrl->hwlim.phase_vol = CONFIG_HW_MAX_PHASE_VOL;
 	//ctrl->hwlim.dc_vol      = CONFIG_HW_MAX_DC_VOLTAGE;
 	ctrl->hwlim.torque  = mc_conf()->m.max_torque; //电机的最大扭矩
-	ctrl->hwlim.fw_id = mc_conf()->m.max_fw_id;  //电能支持的最大弱磁电流
+	ctrl->hwlim.fw_id = mc_conf()->m.max_fw_id;  //电能支持的最大弱磁电流
 	ctrl->protlim.dc_curr = HW_LIMIT_NONE;
 	ctrl->protlim.torque = HW_LIMIT_NONE;
 	ctrl->torque_acc_time = 500; //will be set after start