]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/adc12/HplAdc12P.nc
Reverting back to decentralized handling of interrupts on the msp430. Centralizing...
[tinyos-2.x.git] / tos / chips / msp430 / adc12 / HplAdc12P.nc
index 6243739d775ca7628424a3a20dbafa77e7b5596e..aaee9ce507e61846f7c65072b5226979c6a46382 100644 (file)
@@ -44,7 +44,6 @@
 
 module HplAdc12P {
   provides interface HplAdc12;
-  uses interface HplMsp430InterruptSig as SIGNAL_ADC_VECTOR;
 }
 implementation
 {
@@ -119,7 +118,7 @@ implementation
     
   async command bool HplAdc12.isBusy(){ return ADC12CTL1 & ADC12BUSY; }
 
-  inline async event void SIGNAL_ADC_VECTOR.fired() {
+  TOSH_SIGNAL(ADC_VECTOR) {
     signal HplAdc12.conversionDone(ADC12IV);
   }
 }