[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/AgillaAgents/GroupComm/chat Leader.ma, 1.2, 1.3

Chien-Liang Fok chien-liang at users.sourceforge.net
Wed Sep 20 04:19:27 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/GroupComm/chat
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10040

Modified Files:
	Leader.ma 
Log Message:
fixed bug with relative jump to too long a distance

Index: Leader.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/GroupComm/chat/Leader.ma,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Leader.ma	20 Sep 2006 10:53:05 -0000	1.2
--- Leader.ma	20 Sep 2006 11:19:24 -0000	1.3
***************
*** 46,57 ****
  		getvar 0
  		cgt			// check whether the counter is > number of members
! 		rjumpc DONE
  		copy
  		getvars			// get the neighbor's address
! 		//egetvar 18		
! 		pushn aaa
  		swap
! 		pushn bbb
! 		//egetvar 19
  		swap
  		pushn lbm
--- 46,56 ----
  		getvar 0
  		cgt			// check whether the counter is > number of members
! 		pushc DONE
! 		jumpc
  		copy
  		getvars			// get the neighbor's address
! 		egetvar 18				
  		swap
! 		egetvar 19
  		swap
  		pushn lbm



More information about the Tinyos-contrib-commits mailing list