From a766bf635d20901d17bb9bd54ee508a0e904396a Mon Sep 17 00:00:00 2001 From: chemicstry Date: Wed, 9 Feb 2022 02:04:31 +0200 Subject: [PATCH] Fix function name --- examples/stm32f4/src/bin/usb_uart_ulpi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stm32f4/src/bin/usb_uart_ulpi.rs b/examples/stm32f4/src/bin/usb_uart_ulpi.rs index 2cdc8e683..a55502728 100644 --- a/examples/stm32f4/src/bin/usb_uart_ulpi.rs +++ b/examples/stm32f4/src/bin/usb_uart_ulpi.rs @@ -33,7 +33,7 @@ async fn main(_spawner: Spawner, p: Peripherals) { let mut tx_buffer = [0u8; 66]; // USB with external high-speed PHY - let peri = UsbOtg::new_ulpi( + let peri = UsbOtg::new_hs_ulpi( p.USB_OTG_HS, p.PA5, p.PC2,