mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
Revert "arch/arm/gd32f4: fix NULL pointer dereference in arm_earlyserialinit."
This reverts commit c6e36a4a8b.
This commit is contained in:
parent
eb21f59f2f
commit
53513986cf
1 changed files with 1 additions and 1 deletions
|
|
@ -2763,7 +2763,7 @@ void arm_earlyserialinit(void)
|
|||
|
||||
for (i = 0; i < GD32_NUSART; i++)
|
||||
{
|
||||
if (g_uart_devs[i] && g_uart_devs[i]->priv)
|
||||
if (g_uart_devs[i]->priv)
|
||||
{
|
||||
up_disableusartint(g_uart_devs[i]->priv, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue