diff options
author | Damien George <damien@micropython.org> | 2024-02-11 15:08:08 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-12 11:26:27 +1100 |
commit | abe43fe6873bf78c98634eac74de646f70ec0d32 (patch) | |
tree | 6e0b6a5b649840202ce8eeaacf6c65ad2da158fd /py/persistentcode.c | |
parent | b4f59984f7668db457280c1f4007618fd1d235f6 (diff) |
extmod/btstack: Reset pending_value_handle before calling read-done cb.
Similar to the previous commit but for MP_BLUETOOTH_IRQ_GATTC_READ_DONE:
the pending_value_handle needs to be 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 #13634.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions