X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftelosa%2FPlatformP.nc;fp=tos%2Fplatforms%2Ftelosa%2FPlatformP.nc;h=e56d893426327781c1a6ebe6750ca8bdb283c88a;hb=c62b18891808f1958e9e04708f91c5ea6fb2c765;hp=34490d6526c354aecf24abb12e91723b6ab57cb2;hpb=d4339168075e5b8367972937a71f9665ff3cc4f0;p=tinyos-2.x.git diff --git a/tos/platforms/telosa/PlatformP.nc b/tos/platforms/telosa/PlatformP.nc index 34490d65..e56d8934 100644 --- a/tos/platforms/telosa/PlatformP.nc +++ b/tos/platforms/telosa/PlatformP.nc @@ -8,6 +8,9 @@ module PlatformP @safe() { } implementation { command error_t Init.init() { +#ifdef __MSP430_HAS_WDT__ + WDTCTL = WDTPW + WDTHOLD; +#endif call MoteClockInit.init(); call MoteInit.init(); call LedsInit.init();