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