[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/TestDeluge/GoldenImage GoldenImageM.nc, 1.4, 1.5

Jonathan Hui jwhui at users.sourceforge.net
Thu Mar 17 17:13:33 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/TestDeluge/GoldenImage
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5324/TestDeluge/GoldenImage

Modified Files:
	GoldenImageM.nc 
Log Message:
- Simplified implementation.



Index: GoldenImageM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/TestDeluge/GoldenImage/GoldenImageM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** GoldenImageM.nc	11 Mar 2005 21:46:39 -0000	1.4
--- GoldenImageM.nc	18 Mar 2005 01:13:30 -0000	1.5
***************
*** 208,212 ****
        imgDesc.crc = crcByte(imgDesc.crc, tmp[i]);
  
-     imgDesc.numPgsComplete = 1;
      if (call Metadata.setupNewImage(&imgDesc) == FAIL)
        post eraseData();
--- 208,211 ----
***************
*** 235,238 ****
--- 234,238 ----
      call IFlash.write((uint8_t*)TOSBOOT_GESTURE_COUNT_ADDR, &tmp8, sizeof(tmp8));
      addr = call Storage.imgNum2Addr(DELUGE_GOLDEN_IMAGE_NUM) + DELUGE_IDENT_SIZE;
+     // addr = 0xf0180
      call IFlash.write((uint8_t*)TOSBOOT_NEW_IMG_START_ADDR, &addr, sizeof(addr));
  



More information about the Tinyos-beta-commits mailing list