hi to all,
I am getting the error and unable to over come .can any suggest .
thanks
PRP
----------------------------------------------------------------------------------------------------------------------------------------------------------
Solved! Go to Solution.
you only need to typedef once.
I'll normally put it at the begining.
typedef uint8 BOOL;
from that on you just use BOOL anywhere such as
BOOL boolData = 1;
you only need to typedef once.
I'll normally put it at the begining.
typedef uint8 BOOL;
from that on you just use BOOL anywhere such as
BOOL boolData = 1;
should be
BOOL boolData = TRUE;
There is no equal sign (=) in a typedef.
The syntax follows a variable declaration
typedef KnownType Newtype;
see here: http://publications.gbdirect.co.uk/c_book/chapter8/typedef.html
Happy coding
Bob
its working
thanks