From 6bb6b521f59af1553cc16376670cde1df913c9a9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 21 Oct 2008 18:33:52 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@479 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/MSP430/msp430_serial.c | 10 ++++++---- readme.txt | 1 + 2 files changed, 7 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; + } } /* diff --git a/readme.txt b/readme.txt index f4d8b4499..6409d689d 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,7 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process, ***************************************************************************** *** 0.7.3 *** +- Small optimization to the MSP430 serial driver. - Removed the performance spreadsheet (it was *very* old) and added a directory containing the test reports ./docs/reports.