mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-02 10:41:29 +00:00
Fixed bug #41498 simhost unix project in lwip-contrib calls netif_init() twice.
This commit is contained in:
parent
21e076cb56
commit
bb3e70c860
|
@ -389,8 +389,6 @@ main_thread(void *arg)
|
||||||
#endif
|
#endif
|
||||||
LWIP_UNUSED_ARG(arg);
|
LWIP_UNUSED_ARG(arg);
|
||||||
|
|
||||||
netif_init();
|
|
||||||
|
|
||||||
if(sys_sem_new(&sem, 0) != ERR_OK) {
|
if(sys_sem_new(&sem, 0) != ERR_OK) {
|
||||||
LWIP_ASSERT("Failed to create semaphore", 0);
|
LWIP_ASSERT("Failed to create semaphore", 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user