X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Frf230%2FRF230RadioC.nc;h=380664b868bd598588c63e600e5d9d8bc10fc9a9;hb=8763411b3bfed284f02e6d796efd4d94ac66f355;hp=adee914d3c923e5acd1f5e30f3b6357c169a258c;hpb=94bf9a50a8c350d77f8291926d3bfbc06df236ea;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/rf230/RF230RadioC.nc b/tos/chips/rf2xx/rf230/RF230RadioC.nc index adee914d..380664b8 100644 --- a/tos/chips/rf2xx/rf230/RF230RadioC.nc +++ b/tos/chips/rf2xx/rf230/RF230RadioC.nc @@ -48,7 +48,7 @@ configuration RF230RadioC interface Receive as Ieee154Receive; interface SendNotifier as Ieee154Notifier; - interface Resource as RadioSendResource[uint8_t clint]; + interface Resource as SendResource[uint8_t clint]; interface Ieee154Packet; interface Packet as PacketForIeee154Message; @@ -108,7 +108,7 @@ implementation #ifndef IEEE154FRAMES_ENABLED #ifndef TFRAMES_ENABLED components new AutoResourceAcquireLayerC(); - AutoResourceAcquireLayerC.Resource -> RadioSendResourceC.Resource[unique("RADIO_SEND_RESOURCE")]; + AutoResourceAcquireLayerC.Resource -> SendResourceC.Resource[unique("RADIO_SEND_RESOURCE")]; #else components new DummyLayerC() as AutoResourceAcquireLayerC; #endif @@ -118,8 +118,8 @@ implementation // -------- RadioSend Resource #ifndef TFRAMES_ENABLED - components new SimpleFcfsArbiterC("RADIO_SEND_RESOURCE") as RadioSendResourceC; - RadioSendResource = RadioSendResourceC; + components new SimpleFcfsArbiterC("RADIO_SEND_RESOURCE") as SendResourceC; + SendResource = SendResourceC; // -------- Ieee154 Message