mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
SPI 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 `spi_deinit_all()` functions for SPI, similar to other peripherals such as UART, DAC, etc. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2.8 KiB
2.8 KiB