X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FMainC.nc;h=64947ac4af9b2037905cd03cfe94cc53c7cadea3;hb=8f0d681f0336383bb89ca8745aa7ccc52b58803b;hp=69fc2ba3deba9e6588f9713d2d65798df608ba5a;hpb=531873da4258e79801817651376540bc3b11ccc3;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/system/MainC.nc b/tos/lib/tosthreads/system/MainC.nc index 69fc2ba3..64947ac4 100644 --- a/tos/lib/tosthreads/system/MainC.nc +++ b/tos/lib/tosthreads/system/MainC.nc @@ -52,7 +52,7 @@ implementation { components TinyTaskSchedulerC; components TinyThreadSchedulerC; - components ThreadP; + components StaticThreadC; // Export the SoftwareInit and Boot for applications SoftwareInit = TinyOSMainP.SoftwareInit; @@ -66,7 +66,7 @@ implementation { TinyTaskSchedulerC.ThreadScheduler -> TinyThreadSchedulerC; //Wire up the TinyOS code to its thread - ThreadP.StaticThreadInfo[TOSTHREAD_TOS_THREAD_ID] -> TinyOSMainP; + StaticThreadC.ThreadInfo[TOSTHREAD_TOS_THREAD_ID] -> TinyOSMainP; TinyOSMainP.TinyOSBoot -> TinyThreadSchedulerC; //Wire up the thread scheduler to start running