]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
add safe failure handling component, if we're building a safe app
authorregehr <regehr>
Thu, 25 Sep 2008 03:14:28 +0000 (03:14 +0000)
committerregehr <regehr>
Thu, 25 Sep 2008 03:14:28 +0000 (03:14 +0000)
tos/lib/tosthreads/system/MainC.nc

index 64947ac4af9b2037905cd03cfe94cc53c7cadea3..710d281c019fb5216cc27fbeeada4ea4eff108d8 100644 (file)
@@ -54,6 +54,10 @@ implementation {
   components TinyThreadSchedulerC;
   components StaticThreadC;
     
+#ifdef SAFE_TINYOS
+  components SafeFailureHandlerC;
+#endif
+
   // Export the SoftwareInit and Boot for applications
   SoftwareInit = TinyOSMainP.SoftwareInit;
   Boot = TinyOSMainP;