X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fepic%2FPlatformP.nc;fp=tos%2Fplatforms%2Fepic%2FPlatformP.nc;h=d44b5e7f78b43b0d0f3f70f0116730176beeac59;hb=c62b18891808f1958e9e04708f91c5ea6fb2c765;hp=acb3afbeecde83295ae0b66b9bc44be0b53133fd;hpb=d4339168075e5b8367972937a71f9665ff3cc4f0;p=tinyos-2.x.git 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();