]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
commit resource name fix
authorsdhsdh <sdhsdh>
Sun, 20 Sep 2009 16:57:52 +0000 (16:57 +0000)
committersdhsdh <sdhsdh>
Sun, 20 Sep 2009 16:57:52 +0000 (16:57 +0000)
tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc
tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc

index 4c908ff606e0236f4201c20ef844ff9f7e70bcfc..05afc133e9eaed9052bf4c0fbe386aff10250c4c 100644 (file)
@@ -78,7 +78,7 @@ configuration CC2420TinyosNetworkC {
 implementation {
 
   enum {
-    TINYOS_N_NETWORKS = uniqueCount("RADIO_SEND_CLIENT"),
+    TINYOS_N_NETWORKS = uniqueCount("RADIO_SEND_RESOURCE"),
   };
 
   components MainC;
index 634c08b0bac859b627332cb31cfb5d2663aa371b..bdfaee95b8e5b50695cde2cdf8f33c75b76418bb 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;