X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fadc12%2FHplAdc12P.nc;h=aaee9ce507e61846f7c65072b5226979c6a46382;hb=16188bae3116336995dd219b272b27df9c255411;hp=6243739d775ca7628424a3a20dbafa77e7b5596e;hpb=58f043adfb4e8a321a9f93f4262122183fa92245;p=tinyos-2.x.git diff --git a/tos/chips/msp430/adc12/HplAdc12P.nc b/tos/chips/msp430/adc12/HplAdc12P.nc index 6243739d..aaee9ce5 100644 --- a/tos/chips/msp430/adc12/HplAdc12P.nc +++ b/tos/chips/msp430/adc12/HplAdc12P.nc @@ -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); } }