X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tos%2Fplatforms%2Ftelosb%2FMotePlatformC.nc;h=1ba21eac660db8dc594e9d72d3aa32240167e9aa;hb=816c22929992f22955bffe07b387128922cbd0a5;hp=d599811cd1dc87c4bf1f7fd264e1b1c9b7e32d08;hpb=d89f26f7cbc79e6f4bdfdd9d99e45f46c9022f22;p=tinyos-2.x.git diff --git a/tos/platforms/telosb/MotePlatformC.nc b/tos/platforms/telosb/MotePlatformC.nc index d599811c..1ba21eac 100644 --- a/tos/platforms/telosb/MotePlatformC.nc +++ b/tos/platforms/telosb/MotePlatformC.nc @@ -1,4 +1,4 @@ -module MotePlatformC { +module MotePlatformC @safe() { provides interface Init; } implementation { @@ -64,23 +64,23 @@ implementation { P5SEL = 0; P6SEL = 0; - P1DIR = 0xe0; P1OUT = 0x00; + P1DIR = 0xe0; - P2DIR = 0x7b; P2OUT = 0x30; + P2DIR = 0x7b; - P3DIR = 0xf1; P3OUT = 0x00; + P3DIR = 0xf1; - P4DIR = 0xfd; P4OUT = 0xdd; + P4DIR = 0xfd; - P5DIR = 0xff; P5OUT = 0xff; + P5DIR = 0xff; - P6DIR = 0xff; P6OUT = 0x00; + P6DIR = 0xff; P1IE = 0; P2IE = 0;