From 01fbb19513c5581165fde6910631f7b100657a7c Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Wed, 7 Apr 2010 13:54:02 -0600 Subject: [PATCH] Fix last UartSend.send() lost when immediately followed by UartStream.send(). --- tos/chips/msp430/usci/Msp430UartP.nc | 1 + 1 file changed, 1 insertion(+) diff --git a/tos/chips/msp430/usci/Msp430UartP.nc b/tos/chips/msp430/usci/Msp430UartP.nc index 06ea7903..ddf074bd 100644 --- a/tos/chips/msp430/usci/Msp430UartP.nc +++ b/tos/chips/msp430/usci/Msp430UartP.nc @@ -152,6 +152,7 @@ implementation { return FAIL; m_sobuf = buf; m_solen = len; + while (!call Registers.getIfgTx()); call Registers.setIeTx(); call Registers.setTxbuf(*m_sobuf); m_slen = m_solen - 1; -- 2.39.2