X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer%2FPlatformP.nc;fp=tos%2Fplatforms%2Fshimmer%2FPlatformP.nc;h=01668fbad3c679b5e7ebb5abeb05a9ed9df2062b;hb=c62b18891808f1958e9e04708f91c5ea6fb2c765;hp=b8dc94382f56168e3766e902b8b82c5840eefbbd;hpb=d4339168075e5b8367972937a71f9665ff3cc4f0;p=tinyos-2.x.git diff --git a/tos/platforms/shimmer/PlatformP.nc b/tos/platforms/shimmer/PlatformP.nc index b8dc9438..01668fba 100644 --- a/tos/platforms/shimmer/PlatformP.nc +++ b/tos/platforms/shimmer/PlatformP.nc @@ -8,6 +8,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();