[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/net/lqi CC2420ActiveMessageC.nc, 1.3, 1.4
akoepke
andreaskoepke at users.sourceforge.net
Tue Nov 11 02:41:37 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7197
Modified Files:
CC2420ActiveMessageC.nc
Log Message:
best performance
Index: CC2420ActiveMessageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CC2420ActiveMessageC.nc 24 Oct 2008 12:47:39 -0000 1.3
--- CC2420ActiveMessageC.nc 11 Nov 2008 10:41:35 -0000 1.4
***************
*** 57,61 ****
uint32_t s = (getMetadata(p_msg))->strength;
if(s > 60) s = 10;
! if(s > 24) s = 24;
return (s*13/5 + 48);
}
--- 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