[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/net/lqi CC2420ActiveMessageC.nc, 1.2, 1.3
akoepke
andreaskoepke at users.sourceforge.net
Fri Oct 24 05:47:41 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2644
Modified Files:
CC2420ActiveMessageC.nc
Log Message:
match CC2420 more closely
Index: CC2420ActiveMessageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CC2420ActiveMessageC.nc 24 Oct 2008 10:07:10 -0000 1.2
--- CC2420ActiveMessageC.nc 24 Oct 2008 12:47:39 -0000 1.3
***************
*** 57,61 ****
uint32_t s = (getMetadata(p_msg))->strength;
if(s > 60) s = 10;
! if(s > 22) s = 22;
return (s*13/5 + 48);
}
--- 57,61 ----
uint32_t s = (getMetadata(p_msg))->strength;
if(s > 60) s = 10;
! if(s > 24) s = 24;
return (s*13/5 + 48);
}
More information about the Tinyos-2-commits
mailing list