X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Folimexp169%2FMotePlatformC.nc;h=1f8df2f79d5409626be1d106a2c48cc56ef049ac;hb=33953a2e344b09fcd13b3bc53a421da4c51336d7;hp=d158470087904617cd0c06c913fed7744772e71b;hpb=c2d662c7063e1b55bfb2f9c09e2b308c36a90089;p=tinyos-2.x.git diff --git a/tos/platforms/olimexp169/MotePlatformC.nc b/tos/platforms/olimexp169/MotePlatformC.nc index d1584700..1f8df2f7 100644 --- a/tos/platforms/olimexp169/MotePlatformC.nc +++ b/tos/platforms/olimexp169/MotePlatformC.nc @@ -26,11 +26,11 @@ * (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 */ - + 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 */