Skip to content

Commit

Permalink
Merge pull request #378 from Candas1/timer_counter_off
Browse files Browse the repository at this point in the history
Update stm32_mcu.cpp
  • Loading branch information
Candas1 authored Feb 7, 2024
2 parents 1ae389a + 24be380 commit 97a3978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/hardware_specific/stm32/stm32_mcu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void _alignTimersNew() {
// enable timer clock
for (int i=0; i<numTimers; i++) {
timers[i]->pause();
timers[i]->refresh();
//timers[i]->refresh();
#ifdef SIMPLEFOC_STM32_DEBUG
SIMPLEFOC_DEBUG("STM32-DRV: Restarting timer ", getTimerNumber(get_timer_index(timers[i]->getHandle()->Instance)));
#endif
Expand Down

0 comments on commit 97a3978

Please sign in to comment.