diff --git a/ports/src/noux/net/net.cc b/ports/src/noux/net/net.cc index f43c067f1..8f1d347d0 100644 --- a/ports/src/noux/net/net.cc +++ b/ports/src/noux/net/net.cc @@ -67,15 +67,6 @@ static void select_notify() void init_network() { PINF("--- noux: initialize network ---"); - - /** - * NOTE: we only call lwip_nic_init() because - * lwip_tcpip_init() was already called by libc_lwip's - * constructor and we don't want to have another tcpip - * thread. - */ - - lwip_nic_init(0, 0, 0); if (!libc_select_notify) libc_select_notify = select_notify; diff --git a/ports/src/noux/net/target.mk b/ports/src/noux/net/target.mk index 6a80335c2..5038942df 100644 --- a/ports/src/noux/net/target.mk +++ b/ports/src/noux/net/target.mk @@ -1,5 +1,5 @@ TARGET = noux_net -LIBS += alarm libc libc_lwip config +LIBS += alarm libc libc_lwip_nic_dhcp config SRC_CC = main.cc net.cc