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 | |
| 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
| -rw-r--r-- | ports/MSP430/msp430_serial.c | 10 | ||||
| -rw-r--r-- | 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.
|
