[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/storage/CircularLog RandRWAppC.nc, 1.1.2.1, 1.1.2.2 RandRWC.nc, 1.1.2.1, 1.1.2.2

David Gay idgay at users.sourceforge.net
Wed May 31 16:39:15 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/storage/CircularLog
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11854

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	RandRWAppC.nc RandRWC.nc 
Log Message:
storage test app update


Index: RandRWAppC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/storage/CircularLog/Attic/RandRWAppC.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** RandRWAppC.nc	24 May 2006 17:40:28 -0000	1.1.2.1
--- RandRWAppC.nc	31 May 2006 23:39:13 -0000	1.1.2.2
***************
*** 23,27 ****
  
    MainC.Boot <- RandRWC;
-   MainC.SoftwareInit -> SerialActiveMessageC;
  
    RandRWC.SerialControl -> SerialActiveMessageC;
--- 23,26 ----

Index: RandRWC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/storage/CircularLog/Attic/RandRWC.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** RandRWC.nc	24 May 2006 17:40:28 -0000	1.1.2.1
--- RandRWC.nc	31 May 2006 23:39:13 -0000	1.1.2.2
***************
*** 119,123 ****
  
    event void LogRead.readDone(void* buf, storage_len_t rlen, error_t result) __attribute__((noinline)) {
!     if (result == ESIZE)
        done();
      else if (scheck(result) && bcheck(rlen == len && buf == rdata) &&
--- 119,123 ----
  
    event void LogRead.readDone(void* buf, storage_len_t rlen, error_t result) __attribute__((noinline)) {
!     if (len != 0 && rlen == 0)
        done();
      else if (scheck(result) && bcheck(rlen == len && buf == rdata) &&



More information about the Tinyos-2-commits mailing list