X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430SpiP.nc;h=e44a0454620fbb4e518697fd5ebb1c7c2bf93457;hb=4ba7aa9211d754b2d11e6cf91712494b2e3dbd98;hp=dad8e824bd420bf37f8f2c511e83ae57d603714a;hpb=e40462f2112327c1cc2ce8be8c0f497cc4ddbeba;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/Msp430SpiP.nc b/tos/chips/msp430/usci/Msp430SpiP.nc index dad8e824..e44a0454 100644 --- a/tos/chips/msp430/usci/Msp430SpiP.nc +++ b/tos/chips/msp430/usci/Msp430SpiP.nc @@ -206,11 +206,6 @@ implementation { void sendData() { - /* We don't need to check Registers.getIfgTx() (aks UCxxTXIFG), as - * sendData() is only called after peripheral init or receipt of the rx() - * interrupt. SPI on msp430 guarantees UCxxTXIFG is asserted in both of - * these cases. - */ atomic { uint16_t end = m_pos + (blockSize ? blockSize : BLOCKSIZE_DEFAULT); uint8_t tmp;