[Tinyos-commits] CVS: tinyos-1.x/tos/lib/Deluge/TOSBoot/telosb PowerOffM.nc, 1.1, 1.2

Jonathan Hui jwhui at users.sourceforge.net
Tue Aug 23 19:32:28 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/telosb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2533/telosb

Modified Files:
	PowerOffM.nc 
Log Message:
- Wait for cap on user button debounce to charge.



Index: PowerOffM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/telosb/PowerOffM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PowerOffM.nc	22 Jul 2005 17:40:11 -0000	1.1
--- PowerOffM.nc	24 Aug 2005 02:32:25 -0000	1.2
***************
*** 64,69 ****
    command result_t StdControl.start() {
  
      // wait a short period for things to stabilize
!     wait(0xffff);
  
      TOSH_MAKE_USERINT_INPUT();
--- 64,72 ----
    command result_t StdControl.start() {
  
+     int i;
+ 
      // wait a short period for things to stabilize
!     for ( i = 0; i < 4; i++ )
!       wait(0xffff);
  
      TOSH_MAKE_USERINT_INPUT();



More information about the Tinyos-commits mailing list