]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc
define and use RADIO_SEND_RESOURCE
[tinyos-2.x.git] / tos / chips / cc2420 / lowpan / CC2420TinyosNetworkP.nc
index 634c08b0bac859b627332cb31cfb5d2663aa371b..e96354f0b930016e14191deaf1d08927a499c7b4 100644 (file)
@@ -65,7 +65,7 @@ implementation {
 
   enum {
     OWNER_NONE = 0xff,
-    TINYOS_N_NETWORKS = uniqueCount("RADIO_SEND_COUNT"),
+    TINYOS_N_NETWORKS = uniqueCount(RADIO_SEND_RESOURCE),
   } state;
 
   norace uint8_t resource_owner = OWNER_NONE, next_owner;