EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.05k stars 876 forks source link

The program freezes. #453

Open novval opened 7 months ago

novval commented 7 months ago

Variant

ANY

Control type

ANY

Control mode

ANY

What is the bug and how to reproduce it ?

The program freezes.

I chose the HOVERCAR option, in this option, debugging mode to the serial port DEBUG_SERIAL_USART3/DEBUG_SERIAL_USART2 is not selected by default. Because of this, the program freezes, because there are printf calls that are not wrapped in ifdef.

I fixed it in this pull request. Please merge it.

EFeru commented 7 months ago

Hi @novval, thanks for your contribution. I will merge it soon.