]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/AntiTheft/Nodes/AntiTheftC.nc
fix dark threshold
[tinyos-2.x.git] / apps / AntiTheft / Nodes / AntiTheftC.nc
index 6245b6d9de6a9d4771b2c2ba14df21dfc060ceea..1e42baa3e7c2a0a99f18d8b5a5799ab936a6602e 100644 (file)
@@ -13,6 +13,8 @@
  *
  * @author David Gay
  */
+#include "antitheft.h"
+
 module AntiTheftC
 {
   uses {
@@ -36,7 +38,7 @@ implementation
 {
   enum {
     /* Threshold for considering mote in a dark place */
-    DARK_THRESHOLD = 200, 
+    DARK_THRESHOLD = 600, 
 
     /* Amount of time warning leds should stay on (in checkInterval counts) */
     WARNING_TIME = 3,