X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fadc12%2FMsp430Adc12ClientAutoDMA_RVGC.nc;h=7377496e18c158d7e7e7460a1085804e42644b13;hb=1dbd19fe0179302afdf6fde2b945fb9354aab0f6;hp=6fea1bd392292ffd520bd45b6c0b06686d4b59b6;hpb=e5d237c8133ac502718e4fe545add4368bfa60db;p=tinyos-2.x.git diff --git a/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc b/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc index 6fea1bd3..7377496e 100644 --- a/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc +++ b/tos/chips/msp430/adc12/Msp430Adc12ClientAutoDMA_RVGC.nc @@ -58,7 +58,10 @@ generic configuration Msp430Adc12ClientAutoDMA_RVGC() Resource = Msp430RefVoltArbiterP.ClientResource[ID]; Msp430RefVoltArbiterP.AdcResource[ID] -> Msp430Adc12P.Resource[ID]; - AdcConfigure = Msp430RefVoltArbiterP.Config[ID]; + + components new Msp430Adc12ConfAlertC(); + AdcConfigure = Msp430Adc12ConfAlertC.ConfUp; + Msp430RefVoltArbiterP.Config[ID] -> Msp430Adc12ConfAlertC.ConfSub; components Msp430DmaC, Msp430Adc12DMAP;