Skip to content

Commit d97d55a

Browse files
authored
Merge pull request #6450 from 0xc0170/fix_#6449
Realtek: serial - line ending fix
2 parents 0a0cc58 + f4fc5e6 commit d97d55a

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A

1 file changed

+1
-1
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/serial_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void serial_irq_set(serial_t *obj, SerialIrq irq, uint32_t enable)
327327
if(enable) {
328328
if (irq == RxIrq) {
329329
log_uart_irq_set(&stdio_uart_log, IIR_RX_RDY, enable);
330-
serial_log_irq_en |= SERIAL_RX_IRQ_EN;
330+
serial_log_irq_en |= SERIAL_RX_IRQ_EN;
331331
} else {
332332
log_uart_irq_set(&stdio_uart_log, IIR_THR_EMPTY, enable);
333333
serial_log_irq_en |= SERIAL_TX_IRQ_EN;

0 commit comments

Comments
 (0)