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.
This commit is contained in:
RetiredWizard 2023-01-05 19:17:08 -05:00
parent 6013cde6a8
commit fa514e22b2
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}