Solved
if-block brace ignored...why?
- February 20, 2025
- 3 replies
- 1052 views
Hi guys
In the picture, you can see a code fragment in debugging mode. You also may see, that the controller is forced to stop at line 476, the if statement.
Now the problem: I want to enter the if-branch, if the function returns with the READY typedef enum value. The function returns correctly the READY value, but does never jump into the if-branch. If I trigger the next step, the programm continues at line 482.
I tried many things already, including reading from a volatile variable instead of my function, with always the same result.
Does anyone an idea, why?
