From: regehr Date: Thu, 25 Sep 2008 03:14:28 +0000 (+0000) Subject: add safe failure handling component, if we're building a safe app X-Git-Tag: rc_6_tinyos_2_1_1~603 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=aafec0f9eee40a405cf74f324b41d6094924abae;p=tinyos-2.x.git add safe failure handling component, if we're building a safe app --- diff --git a/tos/lib/tosthreads/system/MainC.nc b/tos/lib/tosthreads/system/MainC.nc index 64947ac4..710d281c 100644 --- a/tos/lib/tosthreads/system/MainC.nc +++ b/tos/lib/tosthreads/system/MainC.nc @@ -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;