Update of /cvsroot/firebug/mts400/apps/TestGPS
In directory sc8-pr-cvs1:/tmp/cvs-serv2694/apps/TestGPS
Modified Files:
gps_newM.nc
Log Message:
Minor cleanups.
Index: gps_newM.nc
===================================================================
RCS file: /cvsroot/firebug/mts400/apps/TestGPS/gps_newM.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** gps_newM.nc 12 Nov 2003 01:44:20 -0000 1.3
--- gps_newM.nc 12 Nov 2003 02:49:10 -0000 1.4
***************
*** 36,40 ****
* this should not happen and is a problem.
*/
! #define GPS_ONE_SHOT 0
--- 36,40 ----
* this should not happen and is a problem.
*/
! #define GPS_ONE_SHOT 1
***************
*** 79,87 ****
SODbg(DBG_USR2, "StdControl.stop() \n");
- #if GPS_ONE_SHOT
if (call GpsCmd.PowerSwitch(GPS_POWER_OFF)) {
SODbg(DBG_USR2, "GPS sensor powered off. \n");
}
- #define
/** Timer.stop always returns success. */
call Timer.stop();
--- 79,85 ----
***************
*** 202,206 ****
}
SODbg(DBG_USR2, "\n");
! call StdControl.stop();
return data;
}
--- 200,214 ----
}
SODbg(DBG_USR2, "\n");
!
! #if GPS_ONE_SHOT
! {
! static uint16_t msg_count = 0;
! if (msg_count == 4) {
! call StdControl.stop();
! }
! msg_count++;
! }
! #endif
!
return data;
}
|