aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-12 17:21:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-12 17:21:10 +0000
commit13642acd29381df3197d7e334b0b0b307efab509 (patch)
tree69b9dfe9ab3cfa60db2122524e1de6d26ab0f750 /ports
parentae8b38ea55f4d798d5313666194a7280053f460f (diff)
downloadChibiOS-13642acd29381df3197d7e334b0b0b307efab509.tar.gz
ChibiOS-13642acd29381df3197d7e334b0b0b307efab509.tar.bz2
ChibiOS-13642acd29381df3197d7e334b0b0b307efab509.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@462 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r--ports/MSP430/msp430_serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/MSP430/msp430_serial.c b/ports/MSP430/msp430_serial.c
index d77632d96..10512a283 100644
--- a/ports/MSP430/msp430_serial.c
+++ b/ports/MSP430/msp430_serial.c
@@ -74,6 +74,8 @@ interrupt(USART0RX_VECTOR) u0rxirq(void) {
*/
static void OutNotify1(void) {
+ if (!(U0IE & UTXIE0))
+ U0TXBUF = (uint8_t)chFDDRequestDataI(&COM1);
U0IE |= UTXIE0;
}