summaryrefslogtreecommitdiff
path: root/examples/embedding/main.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-09 11:44:28 +1100
commitb4f59984f7668db457280c1f4007618fd1d235f6 (patch)
tree1cb5a35670d7752beb49221c687545c0e7393a05 /examples/embedding/main.c
parent8cbae12d0d84ebce76b305d2f5535f327d5d44be (diff)
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 'examples/embedding/main.c')
0 files changed, 0 insertions, 0 deletions