]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/dma/HplMsp430DmaP.nc
Update to centralize inside one module where all interrupt handlers are signaled...
[tinyos-2.x.git] / tos / chips / msp430 / dma / HplMsp430DmaP.nc
index 6b58160659503bac4acd74120a7c01e30e249813..4d8a6b6fbd2e9729160f1d58d9920574769b12d0 100644 (file)
@@ -61,7 +61,7 @@ module HplMsp430DmaP {
 
   provides interface HplMsp430DmaControl as DmaControl;
   provides interface HplMsp430DmaInterrupt as Interrupt;
-
+  uses interface HplMsp430InterruptSig as SIGNAL_DACDMA_VECTOR;
 }
 
 implementation {
@@ -69,7 +69,7 @@ implementation {
   MSP430REG_NORACE( DMACTL0 );
   MSP430REG_NORACE( DMACTL1 );
 
-  TOSH_SIGNAL( DACDMA_VECTOR ) {
+  inline async event void SIGNAL_DACDMA_VECTOR.fired {
     signal Interrupt.fired();
   }