]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - doc/html/tutorial/lesson2.html
Evceventm not command
[tinyos-2.x.git] / doc / html / tutorial / lesson2.html
index f4182098146492a6896897ca7535207b70c0076e..d47351cc984c25193a943211ef4f99368d200dea 100644 (file)
@@ -733,7 +733,7 @@ state = WAITING;
 op1();
 call Timer.startOneShot(500);
 
-command void Timer.fired() {
+event void Timer.fired() {
   op2();
   state = RUNNING;
 }
@@ -750,7 +750,7 @@ split-phase operations: sending packets.</p>
 <h1>Related Documentation</h1>
 </a>
 <ul>
-<li> <a href="../tep107.html">TEP 102: Timers</a>
+<li> <a href="../tep102.html">TEP 102: Timers</a>
 <li> <a href="../tep106.html">TEP 106: Schedulers and Tasks</a>
 </ul>