From: andreaskoepke Date: Fri, 24 Oct 2008 12:47:39 +0000 (+0000) Subject: match CC2420 more closely X-Git-Tag: rc_6_tinyos_2_1_1~580 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=be78affaf23a2ad98ef9e93b3d4e7013f3cd88f2 match CC2420 more closely --- diff --git a/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc b/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc index 50121a59..9363911d 100644 --- a/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc +++ b/tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc @@ -56,7 +56,7 @@ implementation { async command uint8_t CC2420Packet.getLqi( message_t* p_msg ) { uint32_t s = (getMetadata(p_msg))->strength; if(s > 60) s = 10; - if(s > 22) s = 22; + if(s > 24) s = 24; return (s*13/5 + 48); } }