Merge pull request #7424 from RetiredWizard/mimxrt10xx-deinit

mimxrt10xx gpio pins don't deinit
This commit is contained in:
MicroDev 2023-01-06 14:26:10 +05:30 committed by GitHub
commit 037bfb39e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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