mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'lwip/dhcp_network_changed_fix' into 'master'
fix(lwip): Fixed compilation issue with LWIP_DHCP_RESTORE_LAST_IP Closes IDFGH-13710 See merge request espressif/esp-idf!36512
This commit is contained in:
commit
73c46b0bc5
@ -362,7 +362,7 @@ extern "C" {
|
||||
*/
|
||||
#define LWIP_HOOK_DHCP_POST_INIT(netif, result) \
|
||||
(dhcp_ip_addr_restore(netif) ? ( dhcp_set_state(dhcp, DHCP_STATE_BOUND), \
|
||||
dhcp_network_changed(netif), \
|
||||
dhcp_network_changed_link_up(netif), \
|
||||
(result) = ERR_OK , \
|
||||
true ) : \
|
||||
false)
|
||||
|
@ -1,4 +1,4 @@
|
||||
idf_component_register(SRCS "lwip_test.c"
|
||||
REQUIRES test_utils
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES unity lwip test_utils)
|
||||
PRIV_REQUIRES unity lwip test_utils nvs_flash)
|
||||
|
@ -1,2 +1,5 @@
|
||||
CONFIG_UNITY_ENABLE_FIXTURE=y
|
||||
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=n
|
||||
|
||||
# Added to enable compilation of DHCP last IP restore feature
|
||||
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user