[Firebug-cvs] fireboard/beta/apps/XSensorMTS400 .cvsignore,1.2,1.3 Makefile,1.2,1.3 TestMTS400M.nc,1
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2005-05-23 21:34:47
|
Update of /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28646/apps/XSensorMTS400 Modified Files: .cvsignore Makefile TestMTS400M.nc appFeatures.h sensorboardApp.h Log Message: More code clean up. Fixed xbow makefile. Deleted some dead code from app. Index: TestMTS400M.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/TestMTS400M.nc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestMTS400M.nc 23 May 2005 19:09:43 -0000 1.2 --- TestMTS400M.nc 23 May 2005 21:34:37 -0000 1.3 *************** *** 264,268 **** char stringcommand[] = "$PSRF100,0,9600,8,1,0*0C"; ! char gga_fields[GGA_FIELDS][GPS_CHAR_PER_FIELD]; // = {{0}}; --- 264,268 ---- char stringcommand[] = "$PSRF100,0,9600,8,1,0*0C"; ! Index: sensorboardApp.h =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/sensorboardApp.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sensorboardApp.h 19 May 2005 17:29:49 -0000 1.1 --- sensorboardApp.h 23 May 2005 21:34:37 -0000 1.2 *************** *** 2,34 **** #define MAKE_GPS_ENA_OUTPUT() sbi(DDRE,6) #define SET_GPS_ENA() cbi(PORTE,6) #define CLR_GPS_ENA() sbi(PORTE,6) - #define GPS_MSG_LENGTH 100 - #define GPS_CHAR 11 - #define GGA_FIELDS 8 - #define GPS_CHAR_PER_FIELD 10 - #define GPS_DELIMITER ',' - #define GPS_END_MSG '*' - // 18 bytes. - // - //struct _gga_msg - //{ - // uint8_t hours; - // uint8_t minutes; - // float dec_sec; - // uint8_t Lat_deg; - // float Lat_dec_min; - // uint8_t Long_deg; - // float Long_dec_min; - // uint8_t NSEWind; - // uint8_t num_sats; - //}; - //typedef struct _gga_msg GGA_Msg; - // - // typedef struct XSensorHeader{ --- 2,13 ---- + + // TODO: Delete this bullshit if possible. #define MAKE_GPS_ENA_OUTPUT() sbi(DDRE,6) #define SET_GPS_ENA() cbi(PORTE,6) #define CLR_GPS_ENA() sbi(PORTE,6) typedef struct XSensorHeader{ Index: appFeatures.h =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/appFeatures.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** appFeatures.h 19 May 2005 17:29:49 -0000 1.1 --- appFeatures.h 23 May 2005 21:34:37 -0000 1.2 *************** *** 22,26 **** #endif ! #define FEATURE_GPS_ONLY 1 #ifndef FEATURE_GPS_ONLY --- 22,26 ---- #endif ! #define FEATURE_GPS_ONLY 0 #ifndef FEATURE_GPS_ONLY Index: Makefile =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 19 May 2005 19:48:01 -0000 1.2 --- Makefile 23 May 2005 21:34:37 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + COMPONENT=TestMTS400 SENSORBOARD=mts400 *************** *** 8,13 **** XBOWBETAROOT=$(TOSROOT)/contrib/xbow/beta/tos ! PFLAGS=-I$(XBOWBETAROOT)/lib/Xee -I$(XBOWROOT)/platform/$(PLATFORM) -I$(XBOWROOT)/AXStack/$(PLATFORM) -I$(XBOWROOT)/lib -I$(XBOWBETAROOT)/sensorboards/$(SENSORBOARD) -I$(XBOWBETAROOT)/sensorboards/$(SENSORBOARD)/gps include ../MakeXbowlocal include ${TOSROOT}/tools/make/Makerules --- 9,22 ---- XBOWBETAROOT=$(TOSROOT)/contrib/xbow/beta/tos ! PFLAGS=-I$(XBOWBETAROOT)/lib/Xee -I$(XBOWROOT)/platform/$(PLATFORM) \ ! -I$(XBOWROOT)/AXStack/$(PLATFORM) -I$(XBOWROOT)/lib \ ! -I$(XBOWBETAROOT)/sensorboards/$(SENSORBOARD) ! -I$(XBOWBETAROOT)/sensorboards/$(SENSORBOARD)/gps include ../MakeXbowlocal include ${TOSROOT}/tools/make/Makerules + + + + + Index: .cvsignore =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 23 May 2005 19:09:43 -0000 1.2 --- .cvsignore 23 May 2005 21:34:37 -0000 1.3 *************** *** 1 **** ! buil *~ --- 1 ---- ! build *~ |