]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/blip/IPDispatchC.nc
- fix nwprog compile
[tinyos-2.x.git] / tos / lib / net / blip / IPDispatchC.nc
index a90b7ed1f2489f52d5cf52fc95e8de60b8faf26b..ec7efc06ad693f3de34a598437d42b3074fd017f 100644 (file)
@@ -50,10 +50,14 @@ configuration IPDispatchC {
 
   IPDispatchP.Boot -> MainC;
 
+#ifdef IEEE154FRAMES_ENABLED
+  IPDispatchP.Ieee154Send -> MessageC;
+#else
   components ResourceSendP;
   ResourceSendP.SubSend -> MessageC;
-  ResourceSendP.Resource -> MessageC.SendResource[unique(IEEE154_SEND_CLIENT)];
+  ResourceSendP.Resource -> MessageC.SendResource[unique("RADIO_SEND_RESOURCE")];
   IPDispatchP.Ieee154Send -> ResourceSendP.Ieee154Send;
+#endif
 
   IPDispatchP.Ieee154Receive -> MessageC.Ieee154Receive;
   IPDispatchP.Packet -> MessageC.Packet;