Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TechAUmNu committed May 31, 2023
1 parent a4278d3 commit 06d834d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf_general.c
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ int conf_general_detect_apply_all_foc(float max_power_loss,
int faultM1 = FAULT_CODE_NONE;
int faultM2 = FAULT_CODE_NONE;

// Measure DC offsets including undriven (ignore returned status)
// Measure DC offsets including undriven
// Needs to be done before getting the motor configuration
if(mcpwm_foc_dc_cal(true) == -1) {
return mc_interface_get_fault() - 100; // Offset fault by -100
Expand Down

0 comments on commit 06d834d

Please sign in to comment.