summaryrefslogtreecommitdiff
path: root/py/formatfloat.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-27 23:53:45 +1000
committerDamien George <damien.p.george@gmail.com>2018-04-27 23:57:26 +1000
commit999c8b9711bf31ac375c09f35672e59b21d0aed4 (patch)
treee4ebd19862f4876105a5a47f9adee2f821b9c2ba /py/formatfloat.c
parent98b05e36148655ac53383f4ccea37e15445a5c54 (diff)
esp32/modsocket: Add support for registering socket event callbacks.
The esp8266 uses modlwip.c for its usocket implementation, which allows to easily support callbacks on socket events (like when a socket becomes ready for reading). This is not as easy to do for the esp32 which uses the ESP-IDF-provided lwIP POSIX socket API. Socket events are needed to get WebREPL working, and this patch provides a way for such events to work by explicitly polling registered sockets for readability, and then calling the associated callback if the socket is readable.
Diffstat (limited to 'py/formatfloat.c')
0 files changed, 0 insertions, 0 deletions