mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
emulation on host: mock lwIP functions used in latest dhcp renew patch (#5691)
This commit is contained in:
15
tests/host/common/MocklwIP.cpp
Normal file
15
tests/host/common/MocklwIP.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
#include <lwip/netif.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
netif* netif_list = nullptr;
|
||||
|
||||
err_t dhcp_renew(struct netif *netif)
|
||||
{
|
||||
(void)netif;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
} // extern "C"
|
Reference in New Issue
Block a user