X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430UartP.nc;h=cb8073df7b84b48581696d3e1b6321530c5f1256;hp=a35dd92eb8d4b05a2296b1612ecde05f79d30b44;hb=7837df6e52e3cfedad2ea2d97711685682b28d63;hpb=dfbae4ae464c8990d122cc07951edcdbc1983ac4 diff --git a/tos/chips/msp430/usci/Msp430UartP.nc b/tos/chips/msp430/usci/Msp430UartP.nc index a35dd92e..cb8073df 100644 --- a/tos/chips/msp430/usci/Msp430UartP.nc +++ b/tos/chips/msp430/usci/Msp430UartP.nc @@ -114,6 +114,10 @@ implementation { /* Enable the device */ call Registers.clrCtl1(UCSWRST); + + /* TOS convention is for receive interrupts on by default. */ + call Registers.clrIfgRx(); + call Registers.setIeRx(); } }