diff options
| author | bernard <[email protected]> | 2014-07-24 08:32:35 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-07-24 08:32:35 +0800 |
| commit | 4e96775e89b36b93cf03a7b2062f9da53435b303 (patch) | |
| tree | fd782d3fa9f59676ffeac53feca63ac6d93f0573 | |
| parent | 7c2c3ddc341a14d8db1a6c1833c799f40cb468f4 (diff) | |
[bsp] Fix serial 3 issue in beaglebone.
| -rw-r--r-- | bsp/beaglebone/drivers/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/beaglebone/drivers/serial.c b/bsp/beaglebone/drivers/serial.c index d07621080b..5430358798 100644 --- a/bsp/beaglebone/drivers/serial.c +++ b/bsp/beaglebone/drivers/serial.c @@ -426,7 +426,7 @@ int rt_hw_serial_init(void) config.stop_bits = STOP_BITS_1; config.invert = NRZ_NORMAL; serial3.ops = &am33xx_uart_ops; - serial3.int_rx = &uart_3_int_rx; + serial3.int_rx = &uart3_int_rx; serial3.config = config; /* enable RX interrupt */ UART_IER_REG(uart3.base) = 0x01; @@ -470,7 +470,7 @@ int rt_hw_serial_init(void) config.parity = PARITY_NONE; config.stop_bits = STOP_BITS_1; config.invert = NRZ_NORMAL; - + serial5.ops = &am33xx_uart_ops; serial5.int_rx = &uart5_int_rx; serial5.config = config; |
