Closed yzliao closed 11 years ago
Currently, we use if statement to separate the code for BS and mote in RDC. Instead, we should use a macro, such as
#if (SN_ID == 0) /*BS code*/ #else /*mote code*/ #endif
By using this macro, the code size can be reduced.
solved in #30
Currently, we use if statement to separate the code for BS and mote in RDC. Instead, we should use a macro, such as
By using this macro, the code size can be reduced.