From: andreaskoepke Date: Sun, 24 Jan 2010 23:02:37 +0000 (+0000) Subject: resource allocation is initialization X-Git-Tag: rc_6_tinyos_2_1_1~43 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=429afe050091900247e4cc4ca891bb6be6ba9ce1 resource allocation is initialization --- diff --git a/tos/platforms/eyesIFX/RadioDataLinkC.nc b/tos/platforms/eyesIFX/RadioDataLinkC.nc index eee306f5..aa50a5ce 100644 --- a/tos/platforms/eyesIFX/RadioDataLinkC.nc +++ b/tos/platforms/eyesIFX/RadioDataLinkC.nc @@ -65,11 +65,8 @@ implementation LinkLayerC as Llc; //The Link Layer Control module to use //Don't change wirings below this point, just change which components - //They are compposed of in the list above + //They are compposed of in the list above - components MainC; - MainC.SoftwareInit -> PacketSerializer; - SplitControl = Llc; Llc.MacSplitControl -> Mac.SplitControl; Llc.RadioSplitControl -> Radio.SplitControl; @@ -95,7 +92,14 @@ implementation PacketSerializer.PhyPacketRx -> UartPhy.PhyPacketRx; UartPhy.RadioByteComm -> Radio.RadioByteComm; + #ifndef RADIO_UART_VCO components SmclkManagerC; #endif + +#ifdef PACKETSERIALIZER_DEBUG + components new SerialDebugC() as SD; + PacketSerializer.SerialDebug -> SD; +#endif + }