X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430SpiP.nc;h=e446431242a6f77739c05d7df499c7e24f9041bc;hb=12118308dc7619c3ab634feb7c5787595e43cbf8;hp=eb217b3f92068e3cc76d2f0f4999bfe87d534359;hpb=c1accd0c73c0dc3314b9de1dd1fefa643b45962e;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/Msp430SpiP.nc b/tos/chips/msp430/usci/Msp430SpiP.nc index eb217b3f..e4464312 100644 --- a/tos/chips/msp430/usci/Msp430SpiP.nc +++ b/tos/chips/msp430/usci/Msp430SpiP.nc @@ -223,9 +223,7 @@ implementation { async event void Interrupts.rx(uint8_t byte) { if (m_rxBuf) - m_rxBuf[m_pos - 1] = call Registers.getRxbuf(); - else - call Registers.getRxbuf(); + m_rxBuf[m_pos - 1] = byte; if (m_pos < m_len) sendData();