[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot TOSBootM.nc, 1.9, 1.10

Jonathan Hui jwhui at users.sourceforge.net
Tue Jun 28 23:47:08 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32731

Modified Files:
	TOSBootM.nc 
Log Message:
Fixed a bug in error checking.



Index: TOSBootM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/TOSBootM.nc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TOSBootM.nc	16 Jun 2005 17:22:31 -0000	1.9
--- TOSBootM.nc	29 Jun 2005 06:46:50 -0000	1.10
***************
*** 106,110 ****
      call ExtFlash.stopRead();
  
!     if (numPgs == 0 && numPgs == 0xff)
        return FALSE;
  
--- 106,110 ----
      call ExtFlash.stopRead();
  
!     if (numPgs == 0 || numPgs == 0xff)
        return FALSE;
  



More information about the Tinyos-beta-commits mailing list