From 3b10329c8488a57e3b3b823324b166e52f2f3962 Mon Sep 17 00:00:00 2001 From: Lu Date: Mon, 4 Mar 2019 14:42:06 +0800 Subject: [PATCH] Update serial_api.c Remove the interrupt disable function to fix the logUART rx error when inputting multiple characters simultaneously in buffered serial mode. --- .../TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/serial_api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/serial_api.c b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/serial_api.c index 3aabdcab849..2f06962beed 100644 --- a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/serial_api.c +++ b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/serial_api.c @@ -292,7 +292,6 @@ static void SerialRxDoneCallBack(VOID *pAdapter) #ifdef CONFIG_MBED_ENABLED static void serial_loguart_irq_handler(uint32_t id, LOG_UART_INT_ID event) { - log_uart_irq_set(&stdio_uart_log, event, 0); if (log_irq_handler) { if (event == IIR_RX_RDY || event == IIR_CHAR_TIMEOUT) { log_irq_handler(serial_log_irq_ids, RxIrq);