From 38d2b17aa6238ebde53333acf9f51c940b8e5f91 Mon Sep 17 00:00:00 2001 From: smckown Date: Fri, 12 Sep 2008 22:14:18 +0000 Subject: [PATCH] Update tmirws/MotePlatformC code as well. --- tos/platforms/tmicore/MotePlatformC.nc | 2 +- tos/platforms/tmirws/MotePlatformC.nc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tos/platforms/tmicore/MotePlatformC.nc b/tos/platforms/tmicore/MotePlatformC.nc index c4eb5028..9e9f675a 100644 --- a/tos/platforms/tmicore/MotePlatformC.nc +++ b/tos/platforms/tmicore/MotePlatformC.nc @@ -59,7 +59,7 @@ implementation { P2REN = 0xc8; /* 1 1 0 0 1 0 0 0 */ /* Port 3: 7:UC_RX, 6:UC_TX, 5:-, 4:-, 3:UC_SCK, 2:UC_SOMI, 1:UC_SIMO, 0:- */ - P3SEL = 0x00; /* 0 0 0 0 0 0 0 0 */ + P3SEL = 0; /* 0 0 0 0 0 0 0 0 */ P3OUT = 0xff; /* 1 1 1 1 1 1 1 1 */ P3DIR = 0x4a; /* 0 1 0 0 1 0 1 0 */ P3REN = 0xb5; /* 1 0 1 1 0 1 0 1 */ diff --git a/tos/platforms/tmirws/MotePlatformC.nc b/tos/platforms/tmirws/MotePlatformC.nc index 7f360f2c..e79701a3 100644 --- a/tos/platforms/tmirws/MotePlatformC.nc +++ b/tos/platforms/tmirws/MotePlatformC.nc @@ -59,10 +59,10 @@ implementation { P2REN = 0x08; /* 0 0 0 0 1 0 0 0 */ /* Port 3: 7:UC_RX, 6:UC_TX, 5:-, 4:-, 3:UC_SCK, 2:UC_SOMI, 1:UC_SIMO, 0:SHT_SCK */ - P3SEL = 0xc7; /* 1 1 0 0 1 1 1 0 */ - P3OUT = 0x7b; /* 0 1 1 1 1 0 1 1 */ + P3SEL = 0; /* 0 0 0 0 0 0 0 0 */ + P3OUT = 0xff; /* 1 1 1 1 1 1 1 1 */ P3DIR = 0x4b; /* 0 1 0 0 1 0 1 1 */ - P3REN = 0x30; /* 0 0 1 1 0 0 0 0 */ + P3REN = 0xb4; /* 1 0 1 1 0 1 0 0 */ /* Port 4: 7:-, 6:LED2n, 5:LED1n, 4:FLH_CSn, 3:SCP_CSn, 2:SCP_PD, 1:-, 0:- */ P4SEL = 0; /* 0 0 0 0 0 0 0 0 */ -- 2.39.2