diff options
author | Damien George <damien@micropython.org> | 2024-02-08 16:52:01 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-16 10:50:35 +1100 |
commit | e7ff724a87395637f8580b39ee640ffda05d576a (patch) | |
tree | 837982b0849a556fc23685a4bd6afb0d8a74cd4e /extmod/modbtree.c | |
parent | cc7cfc7e8d5508a3b3adf34f5c626643aae79e8d (diff) | |
download | micropython-e7ff724a87395637f8580b39ee640ffda05d576a.tar.gz micropython-e7ff724a87395637f8580b39ee640ffda05d576a.zip |
extmod/btstack: Reset pending_value_handle before calling write-done cb.
The pending_value_handle needs to be freed and reset before calling
mp_bluetooth_gattc_on_read_write_status(), which will call the Python IRQ
handler, which may in turn call back into BTstack to perform an action like
a write. In that case the pending_value_handle will need to be available
for the write/read/etc to proceed.
Fixes issue #13611.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modbtree.c')
0 files changed, 0 insertions, 0 deletions