We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49da45 commit ce7a032Copy full SHA for ce7a032
src/drivers/hardware_specific/stm32/stm32_mcu.cpp
@@ -256,6 +256,10 @@ void _alignTimersNew() {
256
timers[numTimers++] = timer;
257
}
258
259
+ #ifdef SIMPLEFOC_STM32_DEBUG
260
+ SIMPLEFOC_DEBUG("STM32-DRV: Syncronising timers!\nTimer no. ", numTimers);
261
+ #endif
262
+
263
// see if there is more then 1 timers used for the pwm
264
// if yes, try to align timers
265
if(numTimers > 1){
@@ -276,9 +280,6 @@ void _alignTimersNew() {
276
280
277
281
278
282
279
- #ifdef SIMPLEFOC_STM32_DEBUG
- SIMPLEFOC_DEBUG("STM32-DRV: aligning!");
- #endif
283
284
// if no master timer found do not perform alignment
285
if (triggerEvent == -1) {
0 commit comments