]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmicore/MotePlatformC.nc
Updates for GCC 4.5.3
[tinyos-2.x.git] / tos / platforms / tmicore / MotePlatformC.nc
index ebf625e87c65568e6818b3fd61a82e8e23f1564d..2199adfec964f1f4579d0c4151590659628153ab 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,11 +39,6 @@ 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:BQSTAT2, 6:BQSTAT1, 5:-, 4:-, 3:CP_CTS, 2:CP_RTS,
         * 1:BSL_TX, 0:-
         */
@@ -51,7 +46,7 @@ implementation {
        P1OUT = 0x31;   /* 0 0 1 1 0 0 0 1 */
        P1DIR = 0x08;   /* 0 0 0 0 1 0 0 0 */
        P1REN = 0x35;   /* 0 0 1 1 0 1 0 1 */
+
        /* Port 2:
         * 7:-, 6:-, 5:BUTTONn, 4:USB_SUSPENDn, 3:-, 2:BSL_RX, 1:USBPGn,
         * 0:SOLARPGn