Greetings Folks,
I've a stupid (I believe) question. I've following structure defined in
header file,
typedef nx_struct __msg
{
CommonHeader cmnHdr;
nx_union
{
InitMsg __iMsg;
AckMsg __aMsg;
} __msgType;
} ActiveMessage;
Now in the module implementation, I try to declare a pointer as follows,
ActiveMessage *pMsg = NULL;
Doing so, nesc gives me following error,
"Syntax errorr before * "
"pMsg undeclared"
Nothing clicks me if what exactly I'm doing wrong out here. I sure its
something really stupid, I guess.
Please let me know if you find me doing thing wrong.
Thanks,
JD
---------------------------
Love All, Serve All
----------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help