diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2025-05-07 09:11:25 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-04 02:21:32 +1000 |
commit | d5f2fc239af2d69407170fa290ba6752c8f1790c (patch) | |
tree | f765b059b0887de6e8f7f0f10bb5541c47bd5b95 /tests/misc/print_exception.py | |
parent | 17898f8607dc4fb881e860719cc1906d304e60f4 (diff) | |
download | micropython-d5f2fc239af2d69407170fa290ba6752c8f1790c.tar.gz micropython-d5f2fc239af2d69407170fa290ba6752c8f1790c.zip |
extmod/modbluetooth: Add timeout to deinit.
If the BLE radio stops responding before deinit is called the function can
get stuck waiting for an event that is never received, particularly if the
radio is external or on a separate core.
This commit adds a timeout, similar to the timeout already used in the init
function. Updated for nimble, btstack, esp32 and zephyr bindings.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
Diffstat (limited to 'tests/misc/print_exception.py')
0 files changed, 0 insertions, 0 deletions