diff options
| author | Damien George <damien@micropython.org> | 2024-02-08 16:52:01 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-02-09 11:44:28 +1100 |
| commit | b4f59984f7668db457280c1f4007618fd1d235f6 (patch) | |
| tree | 1cb5a35670d7752beb49221c687545c0e7393a05 /examples/embedding/main.c | |
| parent | 8cbae12d0d84ebce76b305d2f5535f327d5d44be (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
