diff options
author | Angus Gratton <angus@redyak.com.au> | 2025-03-26 11:21:09 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-05-21 13:47:45 +1000 |
commit | 4545eb844df3acf342052bf80b35a8127cf7e194 (patch) | |
tree | b8b24def51979a50b96b05690aa4881354eb21c3 /tests/basics/subclass_native_str.py | |
parent | a1ee42cd3e6172cd57756e382a4702ae2a1d4a9e (diff) | |
download | micropython-4545eb844df3acf342052bf80b35a8127cf7e194.tar.gz micropython-4545eb844df3acf342052bf80b35a8127cf7e194.zip |
rp2: Disable the LWIP tick timer when not needed.
Prevents lightsleep being woken up every 64ms to service LWIP timers, when:
1. No netif is up, and
2. No TCP sockets are active
The TCP socket check may not be strictly necessary, but without ticking the
tcp timer they won't ever time out by themselves.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'tests/basics/subclass_native_str.py')
0 files changed, 0 insertions, 0 deletions