ok thanks,
that's better. but i still have to problem of initializing i have tried
with:
typedef struct Command
{
uint8_t flag;
}Command;
Command Cmd;
Cmd = '0'; =0x00; ={0}; =0 ....and so on
Cmd.flag =''0' same as above and so on...
but nothing work, i always get an error of type
ReaderControllerM.nc :52: warning: type defaults to `int' in declaration of
`Cmd1'
ReaderControllerM.nc:52: conflicting types for `Cmd1'
ReaderControllerM.nc:50: previous declaration of `Cmd1'
Is there any rule that I am missing?? (declaring typedef outside module
etc?)
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help