When i debug, don't work the logical.

Hi, when i'm debugging my circuit, the logical of a if or while don't work. In the image, the timeout_rtc is higher than 100, but the value of a don't change to 1. What's wrong?

The variables are define:

static volatile bool a = 0;

static unsigned char  timeout_rtc = 0;

I'm using stlink V2.

Parents Reply Children
No Data
Related