X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer2%2FPlatformP.nc;h=01668fbad3c679b5e7ebb5abeb05a9ed9df2062b;hp=b8dc94382f56168e3766e902b8b82c5840eefbbd;hb=bc58e5a5704f1eaa10cae4106cf5fd5529c20833;hpb=5aa4581b60d743142f85f0e27e0e3d541c83b084 diff --git a/tos/platforms/shimmer2/PlatformP.nc b/tos/platforms/shimmer2/PlatformP.nc index b8dc9438..01668fba 100644 --- a/tos/platforms/shimmer2/PlatformP.nc +++ b/tos/platforms/shimmer2/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();