[bsp]clean code
This commit is contained in:
parent
5fd89e4461
commit
6a88e5b20e
|
@ -350,7 +350,6 @@ int imxrt_hw_usart_init(void)
|
||||||
struct serial_configure config = RT_SERIAL_CONFIG_DEFAULT;
|
struct serial_configure config = RT_SERIAL_CONFIG_DEFAULT;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
||||||
for (i = 0; i < sizeof(uarts) / sizeof(uarts[0]); i++)
|
for (i = 0; i < sizeof(uarts) / sizeof(uarts[0]); i++)
|
||||||
{
|
{
|
||||||
uarts[i].serial->ops = &imxrt_uart_ops;
|
uarts[i].serial->ops = &imxrt_uart_ops;
|
||||||
|
|
Loading…
Reference in New Issue