add function for deinit lwip timers

pull/7751/head
xueyunfei 2021-08-24 14:46:33 +08:00
rodzic 759a01b0c8
commit e451a9b2e1
2 zmienionych plików z 11 dodań i 1 usunięć

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

Wyświetl plik

@ -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
+++++++++++++++++++++++++++++++++++++