]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix it to boot 5 rather than 10 nodes, following the text.
authorscipio <scipio>
Thu, 22 Feb 2007 01:16:10 +0000 (01:16 +0000)
committerscipio <scipio>
Thu, 22 Feb 2007 01:16:10 +0000 (01:16 +0000)
doc/html/tutorial/lesson11.html

index 7d9cf46012795d35b16a23945df5dee17f474c1d..8b7f3649355ee931493abf8e77d26f53e74f50c7 100644 (file)
@@ -931,7 +931,7 @@ for line in lines:
     elif (s[0] == "noise"):
       r.setNoise(int(s[1]), float(s[2]), float(s[3]))
 
-for i in range (0, 9):
+for i in range (0, 4):
   m = t.getNode(i)
   m.bootAtTime(randint(1000, 2000) * 1000000)