summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modbtree.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-08 16:52:01 +1100
committerDamien George <damien@micropython.org>2024-02-16 10:50:35 +1100
commite7ff724a87395637f8580b39ee640ffda05d576a (patch)
tree837982b0849a556fc23685a4bd6afb0d8a74cd4e /extmod/modbtree.c
parentcc7cfc7e8d5508a3b3adf34f5c626643aae79e8d (diff)
downloadmicropython-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