From: scipio Date: Fri, 13 Apr 2007 00:02:17 +0000 (+0000) Subject: Added logging. X-Git-Tag: tinyos/2.0.1~64 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=2b3bd944f26f238898909cf340c90417de349dee;hp=4ebceb54314f65e013c41052fcb124c3b6eaafa5;p=tinyos-2.x.git Added logging. --- diff --git a/apps/MultihopOscilloscope/Makefile b/apps/MultihopOscilloscope/Makefile index bf701217..64913b5b 100644 --- a/apps/MultihopOscilloscope/Makefile +++ b/apps/MultihopOscilloscope/Makefile @@ -1,4 +1,4 @@ COMPONENT=MultihopOscilloscopeAppC -CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/ctp -I$(TOSDIR)/lib/net/le -I. +CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/lqi include $(MAKERULES) diff --git a/apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc b/apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc index 8c5d8fad..cefe6747 100644 --- a/apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc +++ b/apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc @@ -53,13 +53,10 @@ implementation { MultihopOscilloscopeC.UARTMessagePool -> UARTMessagePoolP; MultihopOscilloscopeC.UARTQueue -> UARTQueueP; - - // - // Components for debugging collection. - // + components new PoolC(message_t, 20) as DebugMessagePool, new QueueC(message_t*, 20) as DebugSendQueue, - new SerialAMSenderC(AM_CTP_DEBUG) as DebugSerialSender, + new SerialAMSenderC(AM_LQI_DEBUG) as DebugSerialSender, UARTDebugSenderP as DebugSender; DebugSender.Boot -> MainC; @@ -67,4 +64,5 @@ implementation { DebugSender.MessagePool -> DebugMessagePool; DebugSender.SendQueue -> DebugSendQueue; Collector.CollectionDebug -> DebugSender; + }