|
Re: Timer Question
For practical purposes, yes,
if(disabled_mode) // not disable_mode - my bad
is really the same as if(disabled_mode != 0)
If you look at ifi_default.h you will see the following defines:
#define FALSE 0
#define TRUE !FALSE
It might make more sense if the way you coded it was simply in your logic to increment timer
if(!disabled_mode) // disabled_mode == FALSE
timer += 1;
|