[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp CtpRoutingEngineP.nc, 1.12, 1.13

Omprakash Gnawali gnawali at users.sourceforge.net
Wed Dec 5 14:41:27 PST 2007


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

Modified Files:
	CtpRoutingEngineP.nc 
Log Message:
bug fix: make evaluateEtx arg a 16 bit arg

Index: CtpRoutingEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** CtpRoutingEngineP.nc	31 Oct 2007 22:53:01 -0000	1.12
--- CtpRoutingEngineP.nc	5 Dec 2007 22:41:25 -0000	1.13
***************
*** 260,264 ****
      /* Converts the output of the link estimator to path metric
       * units, that can be *added* to form path metric measures */
!     uint16_t evaluateEtx(uint8_t quality) {
          //dbg("TreeRouting","%s %d -> %d\n",__FUNCTION__,quality, quality+10);
          return (quality + 10);
--- 260,264 ----
      /* Converts the output of the link estimator to path metric
       * units, that can be *added* to form path metric measures */
!     uint16_t evaluateEtx(uint16_t quality) {
          //dbg("TreeRouting","%s %d -> %d\n",__FUNCTION__,quality, quality+10);
          return (quality + 10);



More information about the Tinyos-2-commits mailing list