Skip to content

Commit

Permalink
removed alignement message
Browse files Browse the repository at this point in the history
  • Loading branch information
askuric committed Jan 28, 2024
1 parent a49da45 commit ce7a032
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/drivers/hardware_specific/stm32/stm32_mcu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ void _alignTimersNew() {
timers[numTimers++] = timer;
}

#ifdef SIMPLEFOC_STM32_DEBUG
SIMPLEFOC_DEBUG("STM32-DRV: Syncronising timers!\nTimer no. ", numTimers);
#endif

// see if there is more then 1 timers used for the pwm
// if yes, try to align timers
if(numTimers > 1){
Expand All @@ -276,9 +280,6 @@ void _alignTimersNew() {
}
}

#ifdef SIMPLEFOC_STM32_DEBUG
SIMPLEFOC_DEBUG("STM32-DRV: aligning!");
#endif

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

0 comments on commit ce7a032

Please sign in to comment.