[Tinyos-beta-commits] CVS: tinyos-1.x/beta/STM25P/STM25P StorageManagerM.nc, 1.7, 1.8

Jonathan Hui jwhui at users.sourceforge.net
Thu Jun 23 11:39:50 PDT 2005


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

Modified Files:
	StorageManagerM.nc 
Log Message:
Simplify default formatting. Reduces code space a bit.



Index: StorageManagerM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/STM25P/STM25P/StorageManagerM.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** StorageManagerM.nc	23 May 2005 17:35:17 -0000	1.7
--- StorageManagerM.nc	23 Jun 2005 18:39:47 -0000	1.8
***************
*** 171,179 ****
  
      for ( i = 0; i < STM25P_NUM_SECTORS; i++ )
!       sectorTable.sector[i].volumeId = STM25P_INVALID_VOLUME_ID;
!     
!     sectorTable.sector[0].volumeId = 0xD0;
!     sectorTable.sector[1].volumeId = 0xD1;
!     sectorTable.sector[STM25P_NUM_SECTORS-1].volumeId = 0xDF;
      sectorTable.crc = computeSectorTableCrc();
      
--- 171,175 ----
  
      for ( i = 0; i < STM25P_NUM_SECTORS; i++ )
!       sectorTable.sector[i].volumeId = 0xd0 + i;
      sectorTable.crc = computeSectorTableCrc();
      



More information about the Tinyos-beta-commits mailing list