mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
I2C objects can remain active after a soft-reboot because they are statically allocated and lack a finalizer to collect and deinitialize them. This commit adds a `pyb_i2c_deinit_all()` function for I2C, similar to other peripherals such as UART, DAC, etc. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
39 KiB
39 KiB