[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/at45db At45dbP.nc, 1.4, 1.5

Razvan Musaloiu-E. razvanm at users.sourceforge.net
Sun Dec 23 22:45:25 PST 2007


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

Modified Files:
	At45dbP.nc 
Log Message:
The previous CRC is was ignored when dealing with computeCrc request that span multiple pages.


Index: At45dbP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/at45db/At45dbP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** At45dbP.nc	12 Dec 2006 18:23:02 -0000	1.4
--- At45dbP.nc	24 Dec 2007 06:45:23 -0000	1.5
***************
*** 400,404 ****
      /* This is a hack (store crc in reqBuf), but it saves 2 bytes of RAM */
      reqBuf = (uint8_t *)baseCrc;
!     newRequest(R_READCRC, page, offset, NULL, n);
    }
  
--- 400,404 ----
      /* This is a hack (store crc in reqBuf), but it saves 2 bytes of RAM */
      reqBuf = (uint8_t *)baseCrc;
!     newRequest(R_READCRC, page, offset, reqBuf, n);
    }
  



More information about the Tinyos-2-commits mailing list