Skip to content

Commit f2b7b22

Browse files
committed
comment out HT->refresh() call
1 parent dec7abf commit f2b7b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/drivers/hardware_specific/stm32/stm32_mcu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ void _alignTimersNew() {
414414
// enable timer clock
415415
for (int i=0; i<numTimers; i++) {
416416
timers[i]->pause();
417-
timers[i]->refresh();
417+
// timers[i]->refresh();
418418
#ifdef SIMPLEFOC_STM32_DEBUG
419419
SIMPLEFOC_DEBUG("STM32-DRV: Restarting timer ", getTimerNumber(get_timer_index(timers[i]->getHandle()->Instance)));
420420
#endif
@@ -1144,4 +1144,4 @@ void printTimerCombination(int numPins, PinMap* timers[], int score) {
11441144

11451145
#endif
11461146

1147-
#endif
1147+
#endif

0 commit comments

Comments
 (0)