From 429afe050091900247e4cc4ca891bb6be6ba9ce1 Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Sun, 24 Jan 2010 23:02:37 +0000 Subject: [PATCH] resource allocation is initialization --- tos/platforms/eyesIFX/RadioDataLinkC.nc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 + } -- 2.39.2