X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fpins%2FHplMsp430InterruptNMIP.nc;h=97b945b2be82667805510cffff0eac383de8f615;hb=26d7f5a6239a0f8fbb76588b3562654823acd43f;hp=1942ff24204eb2c6439410d20319da5fac7072d5;hpb=944bc0204b7ce507a6e3fc46fb845f55545b237b;p=tinyos-2.x.git diff --git a/tos/chips/msp430/pins/HplMsp430InterruptNMIP.nc b/tos/chips/msp430/pins/HplMsp430InterruptNMIP.nc index 1942ff24..97b945b2 100644 --- a/tos/chips/msp430/pins/HplMsp430InterruptNMIP.nc +++ b/tos/chips/msp430/pins/HplMsp430InterruptNMIP.nc @@ -27,10 +27,11 @@ module HplMsp430InterruptNMIP provides interface HplMsp430Interrupt as NMI; provides interface HplMsp430Interrupt as OF; provides interface HplMsp430Interrupt as ACCV; + uses interface HplMsp430InterruptSig as SIGNAL_NMI_VECTOR; } implementation { - TOSH_SIGNAL(NMI_VECTOR) + inline async event void SIGNAL_NMI_VECTOR.fired() { volatile int n = IFG1; if (n & NMIIFG) { signal NMI.fired(); return; }