From 2e7ade836eb29e3578046c539986a4d4184ab321 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Wed, 3 Feb 2010 20:57:50 +0000 Subject: [PATCH] Wait 1s before pressing the button to give the button sensor time to activate --- tools/cooja/contiki_tests/rime_trickle.csc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/cooja/contiki_tests/rime_trickle.csc b/tools/cooja/contiki_tests/rime_trickle.csc index f5c7269fe..cf9d02fc9 100644 --- a/tools/cooja/contiki_tests/rime_trickle.csc +++ b/tools/cooja/contiki_tests/rime_trickle.csc @@ -230,6 +230,8 @@ for (i=1; i <= 10; i++) { } WAIT_UNTIL(id == 1 && msg.contains('Starting')); +GENERATE_MSG(1000, "continue"); +YIELD_THEN_WAIT_UNTIL(msg.equals("continue")); log.log("Node 1 started. Clicking node button.\n"); mote.getInterfaces().getButton().clickButton()