Skip to content

Commit 7d38621

Browse files
committed
Indentation fix
1 parent 16385f1 commit 7d38621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpwm_foc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2955,7 +2955,7 @@ void mcpwm_foc_adc_int_handler(void *p, uint32_t flags) {
29552955
// compared to when running. Otherwise going from undriven to driven causes a current
29562956
// spike.
29572957
motor_now->m_phase_now_observer += motor_now->m_pll_speed * dt * conf_now->foc_observer_offset;
2958-
utils_norm_angle_rad((float*)&motor_now->m_phase_now_observer);
2958+
utils_norm_angle_rad((float*)&motor_now->m_phase_now_observer);
29592959

29602960
motor_now->m_x1_prev = motor_now->m_observer_x1;
29612961
motor_now->m_x2_prev = motor_now->m_observer_x2;

0 commit comments

Comments
 (0)