mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
Protect SerCom (UART, SPI, I2C) objects from getting freed by the GC when they go out of scope without being deinitialized. Otherwise the ISR of a Sercom may access an invalid data structure.
20 KiB
20 KiB