]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/pins/HplMsp430InterruptP.nc
Reverting back to decentralized handling of interrupts on the msp430. Centralizing...
[tinyos-2.x.git] / tos / chips / msp430 / pins / HplMsp430InterruptP.nc
index 4c8d899062e9ff0111b84e34b7cc7a2be684b695..9b1b1f2194f11621c54a0228b1c7ecb98a21b74e 100644 (file)
@@ -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;