add function for deinit lwip timers

This commit is contained in:
xueyunfei 2021-08-24 14:46:33 +08:00
parent 759a01b0c8
commit e451a9b2e1
2 changed files with 11 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2195f7416fb3136831babf3e96c027a73075bd4f
Subproject commit 2749568fe15df2003f6c3f37f0dfd44f8f01fcd6

View File

@ -358,6 +358,16 @@ The default lwIP implementation is to have these timers enabled all the time, ev
To return to the default lwIP behaviour (always-on timers), disable :ref:`CONFIG_LWIP_TIMERS_ONDEMAND`.
Lwip timers API
+++++++++++++++
When users are not using WiFi, these APIs provide users with the ability to turn off LwIP timer to reduce power consumption.
The following API functions are supported. For full details see :component_file:`lwip/lwip/src/include/lwip/timeouts.h`.
- ``sys_timeouts_init()``
- ``sys_timeouts_deinit()``
Abort TCP connections when IP changes
+++++++++++++++++++++++++++++++++++++