diff options
| author | chemicstry <[email protected]> | 2022-02-09 02:04:31 +0200 |
|---|---|---|
| committer | chemicstry <[email protected]> | 2022-02-09 02:04:31 +0200 |
| commit | a766bf635d20901d17bb9bd54ee508a0e904396a (patch) | |
| tree | 0015623f40e28e60072712f4f8409cdb7e56fc5f /examples | |
| parent | 1f81a69347e0983f9a040125ed1532ca635e9d79 (diff) | |
Fix function name
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/usb_uart_ulpi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
| 33 | let mut tx_buffer = [0u8; 66]; | 33 | let mut tx_buffer = [0u8; 66]; |
| 34 | 34 | ||
| 35 | // USB with external high-speed PHY | 35 | // USB with external high-speed PHY |
| 36 | let peri = UsbOtg::new_ulpi( | 36 | let peri = UsbOtg::new_hs_ulpi( |
| 37 | p.USB_OTG_HS, | 37 | p.USB_OTG_HS, |
| 38 | p.PA5, | 38 | p.PA5, |
| 39 | p.PC2, | 39 | p.PC2, |
