]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/lpl/PowerCycleP.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / cc2420 / lpl / PowerCycleP.nc
index 34099244f5fd5fd982902d2345fee96c2c795d8a..741224ce60d97ea226f00b67907ae6f902424cbd 100644 (file)
@@ -75,7 +75,7 @@ module PowerCycleP {
 implementation {
   
   /** The current period of the duty cycle, equivalent of wakeup interval */
-  uint16_t sleepInterval = 0;
+  uint16_t sleepInterval = LPL_DEF_LOCAL_WAKEUP;
   
   /** The number of times the CCA has been sampled in this wakeup period */
   uint16_t ccaChecks;
@@ -99,7 +99,6 @@ implementation {
   bool finishSplitControlRequests();
   bool isDutyCycling();
   
-  
   /***************** PowerCycle Commands ****************/
   /**
    * Set the sleep interval, in binary milliseconds