Skip to content

Commit e6b5fea

Browse files
Merge branch 'rtt-ls2k' of https://github.com/0xcccccccccccc/rt-thread into rtt-ls2k
2 parents 5d32b5d + 0fc2211 commit e6b5fea

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

bsp/ls2kdev/drivers/drv_uart.c

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@
2222

2323
#define TRUE 1
2424
#define FALSE 0
25-
const struct serial_configure config_uart0 =
26-
{
27-
BAUD_RATE_115200, /* 921600 bits/s */
28-
DATA_BITS_8, /* 8 databits */
29-
STOP_BITS_1, /* 1 stopbit */
30-
PARITY_NONE, /* No parity */
31-
BIT_ORDER_LSB, /* LSB first sent */
32-
NRZ_NORMAL, /* Normal mode */
33-
RT_SERIAL_RB_BUFSZ, /* Buffer size */
34-
0
25+
const struct serial_configure config_uart0 = {
26+
BAUD_RATE_115200, /* 921600 bits/s */
27+
DATA_BITS_8, /* 8 databits */
28+
STOP_BITS_1, /* 1 stopbit */
29+
PARITY_NONE, /* No parity */
30+
BIT_ORDER_LSB, /* LSB first sent */
31+
NRZ_NORMAL, /* Normal mode */
32+
RT_SERIAL_RB_BUFSZ, /* Buffer size */
33+
0
3534
};
3635
struct rt_uart_ls2k
3736
{

0 commit comments

Comments
 (0)