Skip to content

Commit fa514e2

Browse files
committed
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.
1 parent 6013cde commit fa514e2

File tree

1 file changed

+0
-1
lines changed
  • ports/mimxrt10xx/common-hal/microcontroller

1 file changed

+0
-1
lines changed

ports/mimxrt10xx/common-hal/microcontroller/Pin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ MP_WEAK bool mimxrt10xx_board_reset_pin_number(const mcu_pin_obj_t *pin) {
7171
// Since i.MX pins need extra register and reset information to reset properly,
7272
// resetting pins by number alone has been removed.
7373
void common_hal_reset_pin(const mcu_pin_obj_t *pin) {
74-
return;
7574
if (pin == NULL) {
7675
return;
7776
}

0 commit comments

Comments
 (0)