X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2FMotePlatformC.nc;h=e79701a3523979c15b168a3551b7f3a97445b6a3;hb=38d2b17aa6238ebde53333acf9f51c940b8e5f91;hp=7f360f2c84cb5990d24592fb8740abb1c309e3fe;hpb=b62e80d588af0c73dca0c88224d5117e9df8bcb8;p=tinyos-2.x.git 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 */