mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
lwip timer:optimization dhcp fine timer
This commit is contained in:
parent
3e6c045b1c
commit
d1abdf47c4
@ -1 +1 @@
|
||||
Subproject commit 9bad641bc7378d2eb1ba84834baafaf119135206
|
||||
Subproject commit c3e9aa1cef98fd8d87dabadc472c5268eae28319
|
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user