X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FMotePlatformC.nc;h=c4eb5028a3b5894305aa35e81cb3fa2d85161af8;hb=b62e80d588af0c73dca0c88224d5117e9df8bcb8;hp=bdf8d366e5297ec2e573fd3fec0d9377b30f7123;hpb=155929808405214eb334b8e41ad69875a1e6576e;p=tinyos-2.x.git diff --git a/tos/platforms/tmicore/MotePlatformC.nc b/tos/platforms/tmicore/MotePlatformC.nc index bdf8d366..c4eb5028 100644 --- a/tos/platforms/tmicore/MotePlatformC.nc +++ b/tos/platforms/tmicore/MotePlatformC.nc @@ -59,10 +59,10 @@ 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 = 0xce; /* 1 1 0 0 1 1 1 0 */ - P3OUT = 0x7b; /* 0 1 1 1 1 0 1 1 */ + P3SEL = 0x00; /* 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 = 0x31; /* 0 0 1 1 0 0 0 1 */ + P3REN = 0xb5; /* 1 0 1 1 0 1 0 1 */ /* Port 4: 7:-, 6:LED2n, 5:LED1n, 4:-, 3:-, 2:-, 1:-, 0:- */ P4SEL = 0; /* 0 0 0 0 0 0 0 0 */