Fix USB with swapped pins not working

(cherry picked from commit 0aa1c1302705b16fa5560ee4491a12e42631fe7f)
This commit is contained in:
me-no-dev 2020-08-21 01:44:11 +03:00 committed by BOT
parent 680710df2f
commit 198ce9095a

View File

@ -22,6 +22,5 @@ void usb_hal_init(usb_hal_context_t *usb)
usb_ll_ext_phy_enable();
} else {
usb_ll_int_phy_enable();
usb_ll_int_phy_pullup_conf(true, false, false, false);
}
}