]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/olimexp169/MotePlatformC.nc
Updates for GCC 4.5.3
[tinyos-2.x.git] / tos / platforms / olimexp169 / MotePlatformC.nc
index d158470087904617cd0c06c913fed7744772e71b..1f8df2f79d5409626be1d106a2c48cc56ef049ac 100644 (file)
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
  /**
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 module MotePlatformC @safe() {
   provides interface Init;
 }
@@ -39,16 +39,11 @@ implementation {
     /* reset all of the ports to be input and using i/o functionality */
     atomic
       {
-#ifdef __MSP430_HAS_WDT__
-       /* Stop the watchdog, if running.  Should be somewhere in chips/msp430... */
-       WDTCTL = WDTPW + WDTHOLD;
-#endif
-
        /* Port 1: 7-0:- */
        P1SEL = 0;      /* 0 0 0 0 0 0 0 0 */
        P1OUT = 0;      /* 0 0 0 0 0 0 0 0 */
        P1DIR = 0;      /* 0 0 0 0 0 0 0 0 */
+
        /* Port 2: 7-0:- */
        P2SEL = 0;      /* 0 0 0 0 0 0 0 0 */
        P2OUT = 0;      /* 0 0 0 0 0 0 0 0 */