From 9f42e1e261160b819239c7bb768157d5e3aafb79 Mon Sep 17 00:00:00 2001 From: Fredrik Osterlind Date: Mon, 4 Jun 2012 17:37:29 +0200 Subject: [PATCH] bugfix: use new setSpeedLimit(ratio) method in simulation instead of old setDelayTime() --- tools/cooja/contiki_tests/rest_rpl_coap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/contiki_tests/rest_rpl_coap.js b/tools/cooja/contiki_tests/rest_rpl_coap.js index c98dfb2aa..93773f21a 100644 --- a/tools/cooja/contiki_tests/rest_rpl_coap.js +++ b/tools/cooja/contiki_tests/rest_rpl_coap.js @@ -15,8 +15,8 @@ msg = ""; GENERATE_MSG(5000, "continue"); WAIT_UNTIL(msg.equals("continue")); -/* override simulation delay to realtime */ -sim.setDelayTime(java.lang.Integer.MIN_VALUE); +/* override simulation speed limit to realtime */ +sim.setSpeedLimit(1.0); /* create tunnel interface */ log.log("create tunnel interface\n");