AnsweredAssumed Answered

Another silly bug in the "great" HAL Library

Question asked by jankowski.piotr on Jan 13, 2018
Latest reply on Jan 15, 2018 by jankowski.piotr

Hi Guys.

I am the bare register programmer but yesterday I was asked to find the error in someone's code.


And the second function called :



The timeouts are counted using the SysTick counter updated in the interrupt but the problem is that the interrupt is enabled at the end of this function. For example if HSE fails the program stacks in the HSE enable attempt .