diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-10-21 18:33:52 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-10-21 18:33:52 +0000 |
commit | 6bb6b521f59af1553cc16376670cde1df913c9a9 (patch) | |
tree | 8575a3237d71d365bb8b957681a05f48eb6feb15 /ports | |
parent | dbe47e931ac6c9ffa72d861f283dd661fc289d65 (diff) | |
download | ChibiOS-6bb6b521f59af1553cc16376670cde1df913c9a9.tar.gz ChibiOS-6bb6b521f59af1553cc16376670cde1df913c9a9.tar.bz2 ChibiOS-6bb6b521f59af1553cc16376670cde1df913c9a9.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@479 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/MSP430/msp430_serial.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ports/MSP430/msp430_serial.c b/ports/MSP430/msp430_serial.c index 26531ebbf..384cda0fc 100644 --- a/ports/MSP430/msp430_serial.c +++ b/ports/MSP430/msp430_serial.c @@ -74,9 +74,10 @@ interrupt(USART0RX_VECTOR) u0rxirq(void) { */
static void OutNotify1(void) {
- if (!(U0IE & UTXIE0))
+ if (!(U0IE & UTXIE0)) {
U0TXBUF = (uint8_t)chFDDRequestDataI(&COM1);
- U0IE |= UTXIE0;
+ U0IE |= UTXIE0;
+ }
}
/*
@@ -140,9 +141,10 @@ interrupt(USART1RX_VECTOR) u1rxirq(void) { */
static void OutNotify2(void) {
- if (!(U1IE & UTXIE1))
+ if (!(U1IE & UTXIE1)) {
U1TXBUF = (uint8_t)chFDDRequestDataI(&COM2);
- U1IE |= UTXIE1;
+ U1IE |= UTXIE1;
+ }
}
/*
|