Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extmod/machine_i2c: Call MICROPY_PY_EVENT_HOOK during i2c.scan().
Avoiding a watchdog reset during i2c.scan() if the hardware is not properly set up (eg on esp8266), and also allowing to stop the scan with a KeyboardInterrupt. Fixes issue micropython#8876.
- Loading branch information