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