From: sdhsdh Date: Sun, 20 Sep 2009 16:57:52 +0000 (+0000) Subject: commit resource name fix X-Git-Tag: rc_6_tinyos_2_1_1~226 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=5196ea6d34543eff9e48c94d99882acc8e61f8f7 commit resource name fix --- diff --git a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc index 4c908ff6..05afc133 100644 --- a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc +++ b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkC.nc @@ -78,7 +78,7 @@ configuration CC2420TinyosNetworkC { implementation { enum { - TINYOS_N_NETWORKS = uniqueCount("RADIO_SEND_CLIENT"), + TINYOS_N_NETWORKS = uniqueCount("RADIO_SEND_RESOURCE"), }; components MainC; diff --git a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc index 634c08b0..bdfaee95 100644 --- a/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc +++ b/tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc @@ -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;