refactor(hal/usb): Rename usb_fsls_phy API to match header/source names

Note: Also fixed some formatting issues in usb_wrap_struct.h
This commit is contained in:
Darian Leung
2023-12-27 01:32:06 +08:00
parent b26472af29
commit d74b4f6730
12 changed files with 65 additions and 65 deletions

View File

@@ -106,8 +106,8 @@ void bootloader_console_init(void)
esp_rom_uart_set_as_console(ESP_ROM_USB_OTG_NUM);
esp_rom_install_channel_putc(1, bootloader_console_write_char_usb);
#if SOC_USB_SERIAL_JTAG_SUPPORTED
usb_phy_ll_usb_wrap_pad_enable(&USB_WRAP, true);
usb_phy_ll_int_otg_enable(&USB_WRAP);
usb_fsls_phy_ll_usb_wrap_pad_enable(&USB_WRAP, true);
usb_fsls_phy_ll_int_otg_enable(&USB_WRAP);
#endif
}
#endif //CONFIG_ESP_CONSOLE_USB_CDC