From fa514e22b20a6759793603906f9a50ef1d5ae4e9 Mon Sep 17 00:00:00 2001 From: RetiredWizard Date: Thu, 5 Jan 2023 19:17:08 -0500 Subject: [PATCH] mimxrt10xx gpio pins don't deinit It looks like a rogue "return" made it's way into the reset pin code for the mimxrt10xx port resulting in pin.deinit() not working. --- ports/mimxrt10xx/common-hal/microcontroller/Pin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/mimxrt10xx/common-hal/microcontroller/Pin.c b/ports/mimxrt10xx/common-hal/microcontroller/Pin.c index e891b56a24..3c8c7f2b27 100644 --- a/ports/mimxrt10xx/common-hal/microcontroller/Pin.c +++ b/ports/mimxrt10xx/common-hal/microcontroller/Pin.c @@ -71,7 +71,6 @@ MP_WEAK bool mimxrt10xx_board_reset_pin_number(const mcu_pin_obj_t *pin) { // Since i.MX pins need extra register and reset information to reset properly, // resetting pins by number alone has been removed. void common_hal_reset_pin(const mcu_pin_obj_t *pin) { - return; if (pin == NULL) { return; }