From 5c2fd30afb3eec3e02fcbb393c5f747b56736f8c Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 27 Oct 2009 10:20:25 +0000 Subject: [PATCH] disabled micaz clock until new wakeup interface is implemented --- .../src/se/sics/cooja/avrmote/interfaces/MicaClock.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/cooja/apps/avrora/src/se/sics/cooja/avrmote/interfaces/MicaClock.java b/tools/cooja/apps/avrora/src/se/sics/cooja/avrmote/interfaces/MicaClock.java index bcd5dc1c5..bdb128e76 100644 --- a/tools/cooja/apps/avrora/src/se/sics/cooja/avrmote/interfaces/MicaClock.java +++ b/tools/cooja/apps/avrora/src/se/sics/cooja/avrmote/interfaces/MicaClock.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MicaClock.java,v 1.4 2009/09/17 10:45:13 fros4943 Exp $ + * $Id: MicaClock.java,v 1.5 2009/10/27 10:20:25 fros4943 Exp $ */ package se.sics.cooja.avrmote.interfaces; @@ -60,8 +60,9 @@ public class MicaClock extends Clock { } public long getTime() { - long time = (long) ((double)myMote.cycleCounter * Simulation.MILLISECOND / MspMote.NR_CYCLES_PER_MSEC); - return time > 0 ? time : 0; +// long time = (long) ((double)myMote.cycleCounter * Simulation.MILLISECOND / MspMote.NR_CYCLES_PER_MSEC); +// return time > 0 ? time : 0; + return 0; } public void setDrift(long drift) {