Hi
I am using tos1 and I'd like to use the same code image on base and non-base 
nodes with slightly different functionality.
So I'm trying to use "#define BASE " whenever TOS_LOCAL_ADDRESS=0 :

#if (TOS_LOCAL_ADDRESS!=0)
           #undef BASE
 #else
           #define BASE
 #endif
when i try to simulate(make pc) the application, all nodes define BASE 
irrespective of their TOS_LOCAL_ADDRESS.

How can i solve this issue?

thank you in advance
wahid







      
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to