Skip to content

Commit ce7a032

Browse files
committed
removed alignement message
1 parent a49da45 commit ce7a032

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/drivers/hardware_specific/stm32/stm32_mcu.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ void _alignTimersNew() {
256256
timers[numTimers++] = timer;
257257
}
258258

259+
#ifdef SIMPLEFOC_STM32_DEBUG
260+
SIMPLEFOC_DEBUG("STM32-DRV: Syncronising timers!\nTimer no. ", numTimers);
261+
#endif
262+
259263
// see if there is more then 1 timers used for the pwm
260264
// if yes, try to align timers
261265
if(numTimers > 1){
@@ -276,9 +280,6 @@ void _alignTimersNew() {
276280
}
277281
}
278282

279-
#ifdef SIMPLEFOC_STM32_DEBUG
280-
SIMPLEFOC_DEBUG("STM32-DRV: aligning!");
281-
#endif
282283

283284
// if no master timer found do not perform alignment
284285
if (triggerEvent == -1) {

0 commit comments

Comments
 (0)