[Firebug-cvs] fireboard/beta/apps/XSensorMTS400 Makefile,1.6,1.7 TestMTS400M.nc,1.6,1.7
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2005-05-26 18:30:08
|
Update of /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23703 Modified Files: Makefile TestMTS400M.nc Log Message: First pass at code clean for WORKING xbow test code. Index: TestMTS400M.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/TestMTS400M.nc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TestMTS400M.nc 24 May 2005 21:53:17 -0000 1.6 --- TestMTS400M.nc 26 May 2005 18:29:58 -0000 1.7 *************** *** 153,173 **** uses { ! //communication ! interface StdControl as CommControl; ! interface SendMsg as Send; ! interface ReceiveMsg as Receive; #ifdef MTS420 ! //gps ! // interface I2CSwitchCmds as GpsCmd; interface GpsCmd; [...1345 lines suppressed...] + { + IsUART = !IsUART; // change to uart send + atomic { + WaitingForSend = FALSE; // both uart and radio sent, done for current msg + sending_packet = FALSE; + } + } ! return SUCCESS; } /**************************************************************************** ! * Uart msg rcvd. ! * This app doesn't respond to any incoming uart msg ! * Just return ! ****************************************************************************/ event TOS_MsgPtr Receive.receive(TOS_MsgPtr data) { ! return data; } Index: Makefile =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile 25 May 2005 00:00:47 -0000 1.6 --- Makefile 26 May 2005 18:29:58 -0000 1.7 *************** *** 11,16 **** -I$(XBOWROOT)/AXStack/$(PLATFORM) \ -I$(XBOWROOT)/lib ! PFLAGS += -I$(FIREBOARDROOT)/beta/tos/sensorboards/$(SENSORBOARD) \ ! -I$(FIREBOARDROOT)/beta/tos/sensorboards/$(SENSORBOARD)/gps PFLAGS += -I$(FIREBOARDROOT)/interfaces include ../MakeXbowlocal --- 11,18 ---- -I$(XBOWROOT)/AXStack/$(PLATFORM) \ -I$(XBOWROOT)/lib ! ! PFLAGS +=-I$(FIREBOARDROOT)/beta/tos/sensorboards/$(SENSORBOARD) ! # -I$(FIREBOARDROOT)/beta/tos/sensorboards/$(SENSORBOARD)/gps ! PFLAGS += -I$(FIREBOARDROOT)/interfaces include ../MakeXbowlocal |