]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/epic/PlatformP.nc
Updates for GCC 4.5.3
[tinyos-2.x.git] / tos / platforms / epic / PlatformP.nc
index 582e665f73b3b34196fd4f3f8b4256eedccd7aed..d44b5e7f78b43b0d0f3f70f0116730176beeac59 100644 (file)
@@ -38,12 +38,17 @@ module PlatformP {
   }
   uses {
     interface Init as MoteClockInit;
+    interface Init as MoteInit;
     interface Init as LedsInit;
   }
 }
 implementation {
   command error_t Init.init() {
+#ifdef __MSP430_HAS_WDT__
+    WDTCTL = WDTPW + WDTHOLD;
+#endif
     call MoteClockInit.init();
+    call MoteInit.init();
     call LedsInit.init();
     return SUCCESS;
   }