From 2b3bd944f26f238898909cf340c90417de349dee Mon Sep 17 00:00:00 2001 From: scipio Date: Fri, 13 Apr 2007 00:02:17 +0000 Subject: [PATCH 1/1] Added logging. --- apps/MultihopOscilloscope/Makefile | 2 +- apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) 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; + } -- 2.39.2