X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FMainC.nc;h=710d281c019fb5216cc27fbeeada4ea4eff108d8;hp=64947ac4af9b2037905cd03cfe94cc53c7cadea3;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 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;