[Tinyos-commits] CVS: tinyos-1.x/tos/platform/mica ByteEEPROM_platform.h, 1.2, 1.3

David Gay idgay at users.sourceforge.net
Mon Jun 20 15:06:48 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/mica
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4872/mica

Modified Files:
	ByteEEPROM_platform.h 
Log Message:
reserve last flash page for storage manager


Index: ByteEEPROM_platform.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/mica/ByteEEPROM_platform.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ByteEEPROM_platform.h	7 Oct 2003 21:46:29 -0000	1.2
--- ByteEEPROM_platform.h	20 Jun 2005 22:06:45 -0000	1.3
***************
*** 31,34 ****
  enum {
    TOS_BYTEEEPROM_PAGESIZE = 1 << TOS_EEPROM_PAGE_SIZE_LOG2,
!   TOS_BYTEEEPROM_LASTBYTE = (long)TOS_EEPROM_MAX_PAGES << TOS_EEPROM_PAGE_SIZE_LOG2
  };
--- 31,34 ----
  enum {
    TOS_BYTEEEPROM_PAGESIZE = 1 << TOS_EEPROM_PAGE_SIZE_LOG2,
!   TOS_BYTEEEPROM_LASTBYTE = (long)(TOS_EEPROM_MAX_PAGES - 1) << TOS_EEPROM_PAGE_SIZE_LOG2
  };



More information about the Tinyos-commits mailing list