[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/Deluge/extra NetProgM.nc, 1.5, 1.6

Razvan Musaloiu-E. razvanm at users.sourceforge.net
Fri Jan 18 10:37:13 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/Deluge/extra
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6136/tos/lib/net/Deluge/extra

Modified Files:
	NetProgM.nc 
Log Message:
Properly save the TOS_NODE_ID before rebooting. The bug was reported by Weiping Song.


Index: NetProgM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** NetProgM.nc	14 Jan 2008 04:22:02 -0000	1.5
--- NetProgM.nc	18 Jan 2008 18:37:10 -0000	1.6
***************
*** 91,94 ****
--- 91,95 ----
        bootArgs.gestureCount = 0xff;
        bootArgs.noReprogram = FALSE;
+       bootArgs.address = TOS_NODE_ID;
  
        call IFlash.write((uint8_t*)TOSBOOT_ARGS_ADDR, &bootArgs, sizeof(bootArgs));



More information about the Tinyos-2-commits mailing list