X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fpins%2FHplMsp430InterruptP.nc;h=9b1b1f2194f11621c54a0228b1c7ecb98a21b74e;hb=16188bae3116336995dd219b272b27df9c255411;hp=4c8d899062e9ff0111b84e34b7cc7a2be684b695;hpb=58f043adfb4e8a321a9f93f4262122183fa92245;p=tinyos-2.x.git diff --git a/tos/chips/msp430/pins/HplMsp430InterruptP.nc b/tos/chips/msp430/pins/HplMsp430InterruptP.nc index 4c8d8990..9b1b1f21 100644 --- a/tos/chips/msp430/pins/HplMsp430InterruptP.nc +++ b/tos/chips/msp430/pins/HplMsp430InterruptP.nc @@ -33,7 +33,6 @@ module HplMsp430InterruptP provides interface HplMsp430Interrupt as Port15; provides interface HplMsp430Interrupt as Port16; provides interface HplMsp430Interrupt as Port17; - uses interface HplMsp430InterruptSig as SIGNAL_PORT1_VECTOR; #endif #ifdef __msp430_have_port2 provides interface HplMsp430Interrupt as Port20; @@ -44,7 +43,6 @@ module HplMsp430InterruptP provides interface HplMsp430Interrupt as Port25; provides interface HplMsp430Interrupt as Port26; provides interface HplMsp430Interrupt as Port27; - uses interface HplMsp430InterruptSig as SIGNAL_PORT2_VECTOR; #endif } @@ -52,7 +50,7 @@ implementation { #ifdef __msp430_have_port1 - inline async event void SIGNAL_PORT1_VECTOR.fired() + TOSH_SIGNAL(PORT1_VECTOR) { volatile int n = P1IFG & P1IE; @@ -157,7 +155,7 @@ implementation #endif #ifdef __msp430_have_port2 - inline async event void SIGNAL_PORT2_VECTOR.fired() + TOSH_SIGNAL(PORT2_VECTOR) { volatile int n = P2IFG & P2IE;