From d1abdf47c4d8dec24b023c62bde3a2b2995e7681 Mon Sep 17 00:00:00 2001 From: xueyunfei Date: Wed, 28 Sep 2022 17:57:04 +0800 Subject: [PATCH] lwip timer:optimization dhcp fine timer --- components/lwip/lwip | 2 +- components/lwip/port/esp32/include/lwipopts.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/lwip/lwip b/components/lwip/lwip index 9bad641bc7..c3e9aa1cef 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit 9bad641bc7378d2eb1ba84834baafaf119135206 +Subproject commit c3e9aa1cef98fd8d87dabadc472c5268eae28319 diff --git a/components/lwip/port/esp32/include/lwipopts.h b/components/lwip/port/esp32/include/lwipopts.h index 32b66b5eda..5aea213f77 100644 --- a/components/lwip/port/esp32/include/lwipopts.h +++ b/components/lwip/port/esp32/include/lwipopts.h @@ -1422,9 +1422,11 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min) #ifdef CONFIG_LWIP_TIMERS_ONDEMAND #define ESP_LWIP_IGMP_TIMERS_ONDEMAND 1 #define ESP_LWIP_MLD6_TIMERS_ONDEMAND 1 +#define ESP_LWIP_DHCP_FINE_TIMERS_ONDEMAND 1 #else #define ESP_LWIP_IGMP_TIMERS_ONDEMAND 0 #define ESP_LWIP_MLD6_TIMERS_ONDEMAND 0 +#define ESP_LWIP_DHCP_FINE_TIMERS_ONDEMAND 0 #endif /**