lwip timer:optimization dhcp fine timer

This commit is contained in:
xueyunfei 2022-09-28 17:57:04 +08:00
parent 3e6c045b1c
commit d1abdf47c4
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit 9bad641bc7378d2eb1ba84834baafaf119135206
Subproject commit c3e9aa1cef98fd8d87dabadc472c5268eae28319

View File

@ -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
/**