X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftinynode%2FPlatformP.nc;fp=tos%2Fplatforms%2Ftinynode%2FPlatformP.nc;h=f3d8ee9888c7eca653cd526d7ff4d73e351efbcc;hb=33953a2e344b09fcd13b3bc53a421da4c51336d7;hp=81e9dbfb2dcef92fce8d978c0d44a7147379bceb;hpb=4bd1b84d4b3f740cdf859ac6e0a2acdedd972164;p=tinyos-2.x.git diff --git a/tos/platforms/tinynode/PlatformP.nc b/tos/platforms/tinynode/PlatformP.nc index 81e9dbfb..f3d8ee98 100644 --- a/tos/platforms/tinynode/PlatformP.nc +++ b/tos/platforms/tinynode/PlatformP.nc @@ -7,6 +7,9 @@ module PlatformP{ } implementation { command error_t Init.init() { +#ifdef __MSP430_HAS_WDT__ + WDTCTL = WDTPW + WDTHOLD; +#endif call Msp430ClockInit.init(); TOSH_SET_PIN_DIRECTIONS(); call LedsInit.init();