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 148cc6e75d
commit d837836f84
12 changed files with 61 additions and 61 deletions

View File

@@ -101,8 +101,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