[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/net/lqi CC2420ActiveMessageC.nc, 1.1, 1.2

akoepke andreaskoepke at users.sourceforge.net
Fri Oct 24 03:07:12 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18500

Modified Files:
	CC2420ActiveMessageC.nc 
Log Message:
limit good quality to prevent count to infinity problem

Index: CC2420ActiveMessageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CC2420ActiveMessageC.nc	27 Aug 2008 10:41:04 -0000	1.1
--- CC2420ActiveMessageC.nc	24 Oct 2008 10:07:10 -0000	1.2
***************
*** 57,60 ****
--- 57,61 ----
          uint32_t s = (getMetadata(p_msg))->strength;
          if(s > 60) s = 10;
+         if(s > 22) s = 22;
          return (s*13/5 + 48);
      }



More information about the Tinyos-2-commits mailing list