diff options
author | Damien George <damien@micropython.org> | 2024-02-11 15:08:08 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-16 10:50:43 +1100 |
commit | 02df2b09d4c2793ca97ad48a46640eea7945b9a1 (patch) | |
tree | b597f309ff3408a1ef8f41960d4f0f5b89d55198 /extmod/modheapq.c | |
parent | e7ff724a87395637f8580b39ee640ffda05d576a (diff) | |
download | micropython-02df2b09d4c2793ca97ad48a46640eea7945b9a1.tar.gz micropython-02df2b09d4c2793ca97ad48a46640eea7945b9a1.zip |
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 'extmod/modheapq.c')
0 files changed, 0 insertions, 0 deletions