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=c62b18891808f1958e9e04708f91c5ea6fb2c765;hp=81e9dbfb2dcef92fce8d978c0d44a7147379bceb;hpb=d4339168075e5b8367972937a71f9665ff3cc4f0;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();