X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Ftep106.html;h=a444e4af0c17a5f92c6a86111940fdd4b470b7af;hb=337d0b13acf569c2640b3ed7b7f5c7cec35d7ddd;hp=d65a035a650aaa60dcb412829da57249881fbd23;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/doc/html/tep106.html b/doc/html/tep106.html index d65a035a..a444e4af 100644 --- a/doc/html/tep106.html +++ b/doc/html/tep106.html @@ -303,9 +303,9 @@ ul.auto-toc {
+#define UQ_TASK_EDF "TinySchedulerC.TaskEdf" ++
In this example, the module SomethingP requires two EDF tasks:
configuration SomethingC { @@ -635,8 +640,8 @@ configuration SomethingC { } implementation { components SomethingP, TinySchedulerC; - SomethingP.SendTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"]; - SomethingP.SenseTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"]; + SomethingP.SendTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)]; + SomethingP.SenseTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)]; }
The module SomethingP also has a basic task. The nesC compiler