[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/chips/at45db HplAt45dbP.nc, 1.1.2.2, 1.1.2.3

Philipp Huppertz phihup at users.sourceforge.net
Wed Oct 4 06:11:21 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/at45db
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15161/tos/platforms/eyesIFX/chips/at45db

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HplAt45dbP.nc 
Log Message:
- updated to the new spi interface

Index: HplAt45dbP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/at45db/Attic/HplAt45dbP.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
*** HplAt45dbP.nc	10 Aug 2006 14:23:57 -0000	1.1.2.2
--- HplAt45dbP.nc	4 Oct 2006 13:11:19 -0000	1.1.2.3
***************
*** 50,54 ****
  	task void idleTask() {
  		uint8_t status;
! 		call FlashSpi.write( 0, &status );
  		if (!(status & 0x80)) {
  			post idleTask();
--- 50,54 ----
  	task void idleTask() {
  		uint8_t status;
! 		status = call FlashSpi.write(0);
  		if (!(status & 0x80)) {
  			post idleTask();
***************
*** 64,68 ****
    command bool HplAt45dbByte.getCompareStatus() {
  		uint8_t status;
! 		call FlashSpi.write( 0, &status );
      return (!(status & 0x40));
    }
--- 64,68 ----
    command bool HplAt45dbByte.getCompareStatus() {
  		uint8_t status;
! 		status = call FlashSpi.write(0);
      return (!(status & 0x40));
    }



More information about the Tinyos-2-commits mailing list