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