]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
LPL changes
authormmaroti <mmaroti>
Thu, 17 Sep 2009 21:18:00 +0000 (21:18 +0000)
committermmaroti <mmaroti>
Thu, 17 Sep 2009 21:18:00 +0000 (21:18 +0000)
apps/tests/rf230/RadioCountToDiag/RadioCountToDiagP.nc

index e464cebd4bcc9aa7be69a8c140c1e2c743ba1a2e..324675d09c64924d4b6e66cd37afac5e3d33beb2 100644 (file)
@@ -68,7 +68,7 @@ implementation
                else
                {
 #ifdef LOW_POWER_LISTENING
-                       call LowPowerListening.setLocalSleepInterval(SLEEP_INTERVAL);
+                       call LowPowerListening.setLocalWakeupInterval(SLEEP_INTERVAL);
 #endif         
                        call SendTimer.startPeriodic(SEND_PERIOD);
                        call ReportTimer.startPeriodic(1000);
@@ -144,7 +144,7 @@ implementation
                call Packet.clear(&txMsg);
                call PacketAcknowledgements.requestAck(&txMsg);
 #ifdef LOW_POWER_LISTENING
-               call LowPowerListening.setRxSleepInterval(&txMsg, SLEEP_INTERVAL);
+               call LowPowerListening.setRemoteWakeupInterval(&txMsg, SLEEP_INTERVAL);
 #endif
 
                addr = call ActiveMessageAddress.amAddress();