X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tos%2Fplatforms%2Fepic%2FPlatformP.nc;h=d44b5e7f78b43b0d0f3f70f0116730176beeac59;hb=33953a2e344b09fcd13b3bc53a421da4c51336d7;hp=acb3afbeecde83295ae0b66b9bc44be0b53133fd;hpb=4bd1b84d4b3f740cdf859ac6e0a2acdedd972164;p=tinyos-2.x.git diff --git a/tos/platforms/epic/PlatformP.nc b/tos/platforms/epic/PlatformP.nc index acb3afbe..d44b5e7f 100644 --- a/tos/platforms/epic/PlatformP.nc +++ b/tos/platforms/epic/PlatformP.nc @@ -44,6 +44,9 @@ module PlatformP { } implementation { command error_t Init.init() { +#ifdef __MSP430_HAS_WDT__ + WDTCTL = WDTPW + WDTHOLD; +#endif call MoteClockInit.init(); call MoteInit.init(); call LedsInit.init();