X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Fepic%2FPlatformP.nc;h=d44b5e7f78b43b0d0f3f70f0116730176beeac59;hp=acb3afbeecde83295ae0b66b9bc44be0b53133fd;hb=bc58e5a5704f1eaa10cae4106cf5fd5529c20833;hpb=5aa4581b60d743142f85f0e27e0e3d541c83b084 diff --git a/tos/platforms/epic/PlatformP.nc b/tos/platforms/epic/PlatformP.nc index acb3afbe..d44b5e7f 100644 --- a/tos/platforms/epic/PlatformP.nc +++ b/tos/platforms/epic/PlatformP.nc @@ -44,6 +44,9 @@ module PlatformP { } implementation { command error_t Init.init() { +#ifdef __MSP430_HAS_WDT__ + WDTCTL = WDTPW + WDTHOLD; +#endif call MoteClockInit.init(); call MoteInit.init(); call LedsInit.init();