Skip to content

Commit 4e96775

Browse files
committed
[bsp] Fix serial 3 issue in beaglebone.
1 parent 7c2c3dd commit 4e96775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/beaglebone/drivers/serial.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ int rt_hw_serial_init(void)
426426
config.stop_bits = STOP_BITS_1;
427427
config.invert = NRZ_NORMAL;
428428
serial3.ops = &am33xx_uart_ops;
429-
serial3.int_rx = &uart_3_int_rx;
429+
serial3.int_rx = &uart3_int_rx;
430430
serial3.config = config;
431431
/* enable RX interrupt */
432432
UART_IER_REG(uart3.base) = 0x01;
@@ -470,7 +470,7 @@ int rt_hw_serial_init(void)
470470
config.parity = PARITY_NONE;
471471
config.stop_bits = STOP_BITS_1;
472472
config.invert = NRZ_NORMAL;
473-
473+
474474
serial5.ops = &am33xx_uart_ops;
475475
serial5.int_rx = &uart5_int_rx;
476476
serial5.config = config;

0 commit comments

Comments
 (0)