]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Update tmirws/MotePlatformC code as well.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Fri, 12 Sep 2008 22:14:18 +0000 (22:14 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:00:59 +0000 (20:00 -0700)
tos/platforms/tmicore/MotePlatformC.nc
tos/platforms/tmirws/MotePlatformC.nc

index c4eb5028a3b5894305aa35e81cb3fa2d85161af8..9e9f675a4581877bf56d581b7d274360307bc0c0 100644 (file)
@@ -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 */
index 7f360f2c84cb5990d24592fb8740abb1c309e3fe..e79701a3523979c15b168a3551b7f3a97445b6a3 100644 (file)
@@ -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 */