X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftinynode%2FPlatformP.nc;h=f3d8ee9888c7eca653cd526d7ff4d73e351efbcc;hb=bc58e5a5704f1eaa10cae4106cf5fd5529c20833;hp=81e9dbfb2dcef92fce8d978c0d44a7147379bceb;hpb=1ba974b83d19fc41bf80acd52726f36f7f1df297;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();