This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430G2553: simple if condition always true

Part Number: MSP430G2553

Tool/software: Code Composer Studio

Hi Everybody,

i have the following code:

if(f_in_motion == TRUE )
	{
		f_p_zero = FALSE;
		return;
	}

f_in_motion - signed char

TRUE is define as 1

but when i'm debugging and the f_in_motion is FALSE (0)  it also  enter the brackets and doesn't continue to further line at the bottom

why the condition is fullfiled? 

i've attached an image of the debug process