summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/machine_i2c.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-11 15:08:08 +1100
committerDamien George <damien@micropython.org>2024-02-16 10:50:43 +1100
commit02df2b09d4c2793ca97ad48a46640eea7945b9a1 (patch)
treeb597f309ff3408a1ef8f41960d4f0f5b89d55198 /extmod/machine_i2c.c
parente7ff724a87395637f8580b39ee640ffda05d576a (diff)
downloadmicropython-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/machine_i2c.c')
0 files changed, 0 insertions, 0 deletions