]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/rf212/RF212RadioC.nc
changed displayed info for RF230Sniffer
[tinyos-2.x.git] / tos / chips / rf2xx / rf212 / RF212RadioC.nc
index 23af7c98fcc038d8f47134f403a7cd2d49b79973..90d1f1abe90f9e3dedc68e3e1c7178a52a66cf1a 100644 (file)
 
 #include <RadioConfig.h>
 
-#ifndef TFRAMES_ENABLED
-#define PACKET_LINK
-#endif
-
 configuration RF212RadioC
 {
        provides 
@@ -108,7 +104,7 @@ implementation
 #ifndef IEEE154FRAMES_ENABLED
 #ifndef TFRAMES_ENABLED
        components new AutoResourceAcquireLayerC();
-       AutoResourceAcquireLayerC.Resource -> SendResourceC.Resource[unique("RADIO_SEND_RESOURCE")];
+       AutoResourceAcquireLayerC.Resource -> SendResourceC.Resource[unique(RADIO_SEND_RESOURCE)];
 #else
        components new DummyLayerC() as AutoResourceAcquireLayerC;
 #endif
@@ -118,7 +114,7 @@ implementation
 // -------- RadioSend Resource
 
 #ifndef TFRAMES_ENABLED
-       components new SimpleFcfsArbiterC("RADIO_SEND_RESOURCE") as SendResourceC;
+       components new SimpleFcfsArbiterC(RADIO_SEND_RESOURCE) as SendResourceC;
        SendResource = SendResourceC;
 
 // -------- Ieee154 Message