[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/storage/Log RandRWAppC.nc, 1.1.2.2, 1.1.2.3

David Gay idgay at users.sourceforge.net
Thu Jun 1 09:53:00 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	RandRWAppC.nc 
Log Message:
use generic component arg rather than multiple interafces to distinguish
linear vs circular logs


Index: RandRWAppC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/storage/Log/Attic/RandRWAppC.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** RandRWAppC.nc	31 May 2006 23:33:47 -0000	1.1.2.2
--- RandRWAppC.nc	1 Jun 2006 16:52:56 -0000	1.1.2.3
***************
*** 19,23 ****
  configuration RandRWAppC { }
  implementation {
!   components RandRWC, new LogStorageC(VOLUME_LOGTEST),
      MainC, LedsC, PlatformC, SerialActiveMessageC;
  
--- 19,23 ----
  configuration RandRWAppC { }
  implementation {
!   components RandRWC, new LogStorageC(VOLUME_LOGTEST, FALSE),
      MainC, LedsC, PlatformC, SerialActiveMessageC;
  
***************
*** 26,31 ****
    RandRWC.SerialControl -> SerialActiveMessageC;
    RandRWC.AMSend -> SerialActiveMessageC.AMSend[1];
!   RandRWC.LogRead -> LogStorageC.LinearRead;
!   RandRWC.LogWrite -> LogStorageC.LinearWrite;
    RandRWC.Leds -> LedsC;
  }
--- 26,31 ----
    RandRWC.SerialControl -> SerialActiveMessageC;
    RandRWC.AMSend -> SerialActiveMessageC.AMSend[1];
!   RandRWC.LogRead -> LogStorageC.LogRead;
!   RandRWC.LogWrite -> LogStorageC.LogWrite;
    RandRWC.Leds -> LedsC;
  }



More information about the Tinyos-2-commits mailing list