Update of /cvsroot/firebug/fireboard/beta/apps/GPS3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11230
Modified Files:
TestMTS400M.nc
Log Message:
Deleted more cpp stuff.
Index: TestMTS400M.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/apps/GPS3/TestMTS400M.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestMTS400M.nc 20 Sep 2005 00:20:55 -0000 1.2
--- TestMTS400M.nc 20 Sep 2005 00:57:04 -0000 1.3
***************
*** 214,262 ****
! // send message to the GPS to enable VTG messages on a 1 second cycle
! task void enableNMEAmessage() {
! #if 0
! readStep_t localStep;
! atomic localStep = readStep;
! if (localStep != GPS_REQUESTED) {
! // Wait until GPS is safely on
! post enableNMEAmessage();
! return;
! };
! #endif
! if ( call GpsSend.send((char *)NMEA_ENABLE , NMEA_ENABLE_LENGTH) == SUCCESS) {
! SODbg(DBG_USR2,"GPS ENable NMEA\n");
! return;
! };
! post enableNMEAmessage();
return;
! }
! event result_t GpsSend.sendDone(uint8_t *sendPtr, result_t status) {
! //#if NMEA_MESSAGE_TESTING
! // SODbg(DBG_USR2, "GPS %s commanded: %s",((status == SUCCESS) ? "OK" : "FAIL"),(char *)sendPtr);
! //#endif
! return SUCCESS;
! }
! //#if NMEA_MESSAGE_TESTING
! task void disableNMEAmessage() {
! #if 0
! readStep_t localStep;
! atomic localStep = readStep;
! if (localStep != GPS_REQUESTED) {
! // Wait until GPS is safely on
! post enableNMEAmessage();
! return;
! };
! #endif
! if ( call GpsSend.send(NMEA_DISABLE, NMEA_DISABLE_LENGTH) == SUCCESS) {
! SODbg(DBG_USR2,"GPS DISable NMEA\n");
! return;
! }
! post disableNMEAmessage();
return;
! }
--- 214,246 ----
! // send message to the GPS to enable VTG messages on a 1 second cycle
! task void enableNMEAmessage() {
!
! if ( call GpsSend.send((char *)NMEA_ENABLE , NMEA_ENABLE_LENGTH) == SUCCESS) {
! SODbg(DBG_USR2,"GPS ENable NMEA\n");
return;
! };
! post enableNMEAmessage();
! return;
! }
! event result_t GpsSend.sendDone(uint8_t *sendPtr, result_t status) {
! //#if NMEA_MESSAGE_TESTING
! // SODbg(DBG_USR2, "GPS %s commanded: %s",((status == SUCCESS) ? "OK" : "FAIL"),(char *)sendPtr);
! //#endif
! return SUCCESS;
! }
!
! task void disableNMEAmessage() {
!
! if ( call GpsSend.send(NMEA_DISABLE, NMEA_DISABLE_LENGTH) == SUCCESS) {
! SODbg(DBG_USR2,"GPS DISable NMEA\n");
return;
! }
! post disableNMEAmessage();
! return;
! }
|