mirror of https://github.com/ARMmbed/mbed-os.git
resolve lwip init twice issue
resolve wifi example test fail before lwip is initpull/4444/head
parent
8232afa53e
commit
ef1ddae694
|
@ -469,6 +469,7 @@ nsapi_error_t mbed_lwip_emac_init(emac_interface_t *emac)
|
|||
eth_arch_enable_interrupts();
|
||||
#endif
|
||||
|
||||
netif_inited = true;
|
||||
return NSAPI_ERROR_OK;
|
||||
#else
|
||||
return NSAPI_ERROR_UNSUPPORTED;
|
||||
|
|
Loading…
Reference in New Issue