]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Remove warning on data variable in RssiResource.granted().
authorscipio <scipio>
Wed, 28 Oct 2009 16:18:44 +0000 (16:18 +0000)
committerscipio <scipio>
Wed, 28 Oct 2009 16:18:44 +0000 (16:18 +0000)
tos/chips/cc2420/control/CC2420ControlP.nc

index 3b144a63307267f918600b853b8f294010d3588d..c6fdd8c2bc7fb70ef4da70353df6fdf33ea13795 100644 (file)
@@ -393,7 +393,7 @@ implementation {
   }
 
   event void RssiResource.granted() { 
-    uint16_t data;
+    uint16_t data = 0;
     call CSN.clr();
     call RSSI.read(&data);
     call CSN.set();