]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
match CC2420 more closely
authorandreaskoepke <andreaskoepke>
Fri, 24 Oct 2008 12:47:39 +0000 (12:47 +0000)
committerandreaskoepke <andreaskoepke>
Fri, 24 Oct 2008 12:47:39 +0000 (12:47 +0000)
tos/platforms/eyesIFX/net/lqi/CC2420ActiveMessageC.nc

index 50121a5937da9290e626cf698e04b1a229016a5c..9363911d014597dca33e08ee4f6b80dc6998e2fa 100644 (file)
@@ -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);
     }
 }