X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430UartP.nc;h=dcdc5b380d8370aa01507bf9783a5ececba13822;hb=9b3bcb092b6b9fba236a452663d71a39189ea283;hp=6f6384db9618ffef37ebbdfd2a91fa0c6860e702;hpb=704e3e7ba90d136a08eb9ed930bf3552b5540517;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/Msp430UartP.nc b/tos/chips/msp430/usci/Msp430UartP.nc index 6f6384db..dcdc5b38 100644 --- a/tos/chips/msp430/usci/Msp430UartP.nc +++ b/tos/chips/msp430/usci/Msp430UartP.nc @@ -134,10 +134,7 @@ implementation { async command error_t UartByte.send(uint8_t byte) { - /* FIXME: race with UartStream.send() */ atomic { - if (m_sobuf) - return FAIL; while (!call Registers.getIfgTx()); call Registers.setTxbuf(byte); return SUCCESS;