[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/at45db
BlockStorageP.nc, 1.1.2.12, 1.1.2.13
David Gay
idgay at users.sourceforge.net
Tue May 30 16:46:37 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/at45db
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32152
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
BlockStorageP.nc
Log Message:
comments
Index: BlockStorageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/at45db/Attic/BlockStorageP.nc,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -C2 -d -r1.1.2.12 -r1.1.2.13
*** BlockStorageP.nc 30 May 2006 23:42:23 -0000 1.1.2.12
--- BlockStorageP.nc 30 May 2006 23:46:35 -0000 1.1.2.13
***************
*** 83,87 ****
} sig;
- /* The requests */
struct {
/* The latest request made for this client, and it's arguments */
--- 83,86 ----
***************
*** 91,94 ****
--- 90,94 ----
storage_len_t len;
+ /* Maximum address written in this block */
storage_addr_t maxAddr;
} s[N];
***************
*** 96,100 ****
/* ------------------------------------------------------------------ */
! /* Interface with ConfigStorageP */
/* ------------------------------------------------------------------ */
--- 96,100 ----
/* ------------------------------------------------------------------ */
! /* Interface with ConfigStorageP (see also writeHook call below) */
/* ------------------------------------------------------------------ */
***************
*** 222,225 ****
--- 222,226 ----
event void BConfig.writeContinue[blockstorage_t blockId](error_t error) {
+ /* Config intercept complete. Resume operation. */
client = blockId;
if (error == SUCCESS)
More information about the Tinyos-2-commits
mailing list