summaryrefslogtreecommitdiff
path: root/py/formatfloat.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2023-12-07 10:05:39 +1100
committerDamien George <damien@micropython.org>2023-12-08 12:50:38 +1100
commit73879734d9954477607199e92fe945537c3c3745 (patch)
tree3d69131cf6ce3992aaee1fd54bfd8ab0d7298d6a /py/formatfloat.c
parentc393f5c12321a80bea40af7ef2e42a077df5d806 (diff)
esp8266: Update port to use new event functions.
This is necessary to avoid watchdog timeout in long i2c.scan(), as previously machine_i2c.c would call MICROPY_EVENT_POLL_HOOK if MICROPY_EVENT_POLL_HOOK_FAST was not available. Compared to previous implementation, this implementation removes the ets_event_poll() function and calls the SDK function ets_loop_iter() from MICROPY_INTERNAL_EVENT_HOOK instead. This allows using the port-agnostic functions in more places. There is a small behaviour change, which is that the event loop gets iterated in a few more places (i.e. anywhere that mp_event_handle_nowait() is called). However, this looks like maybe only modselect.c - and is probably good to process Wi-Fi events in that polling loop. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/formatfloat.c')
0 files changed, 0 insertions, 0 deletions