diff options
| -rw-r--r-- | embassy-stm32/src/usb/usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/usb.rs b/embassy-stm32/src/usb/usb.rs index f050c00ce..6682374d3 100644 --- a/embassy-stm32/src/usb/usb.rs +++ b/embassy-stm32/src/usb/usb.rs | |||
| @@ -895,7 +895,7 @@ impl<'d, T: Instance> driver::EndpointOut for Endpoint<'d, T, Out> { | |||
| 895 | // Software should ensure that a small delay is included before accessing the SRAM contents. This delay should be | 895 | // Software should ensure that a small delay is included before accessing the SRAM contents. This delay should be |
| 896 | // 800 ns in Full Speed mode and 6.4 μs in Low Speed mode. | 896 | // 800 ns in Full Speed mode and 6.4 μs in Low Speed mode. |
| 897 | #[cfg(stm32h5)] | 897 | #[cfg(stm32h5)] |
| 898 | embassy_time::Timer::after_nanos(800).await; | 898 | embassy_time::block_for(embassy_time::Duration::from_nanos(800)); |
| 899 | 899 | ||
| 900 | RX_COMPLETE[index].store(false, Ordering::Relaxed); | 900 | RX_COMPLETE[index].store(false, Ordering::Relaxed); |
| 901 | 901 | ||
