When I run this code on my STM32L1 board, the debugger hangs once
it reaches to a Float (in this case the variable 'Distance') or
Delay, I mean it seems like it's processing, however it never goes
through, and I have to close it and run the debugger again, which
hangs of course again. Note that the code builds without errors or
warnings.
Is there's any special configuration for float ?
The following is the related part of the code:
void Delay(int x){
//input milliseconds
↧