diff options
-rw-r--r-- | ports/MSP430/msp430_serial.c | 2 |
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;
}
|