diff options
| author | Boris Faure <[email protected]> | 2024-04-07 17:58:17 +0200 |
|---|---|---|
| committer | Boris Faure <[email protected]> | 2024-04-11 22:51:34 +0200 |
| commit | 98b4eb4491f285fd1008938c4116633f7646c042 (patch) | |
| tree | c84b0c10604dbc4d2f006799213503b0ab2937ce | |
| parent | f5f776f8157eca01cc4f3560807343889d8dcaef (diff) | |
stm32: fix typo in doc
| -rw-r--r-- | embassy-stm32/src/usb/otg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/usb/otg.rs b/embassy-stm32/src/usb/otg.rs index b0e7067bd..1e88b6959 100644 --- a/embassy-stm32/src/usb/otg.rs +++ b/embassy-stm32/src/usb/otg.rs | |||
| @@ -317,7 +317,7 @@ impl<'d, T: Instance> Driver<'d, T> { | |||
| 317 | /// | 317 | /// |
| 318 | /// # Arguments | 318 | /// # Arguments |
| 319 | /// | 319 | /// |
| 320 | /// * `ep_out_buffer` - An internal buffer used to temporarily store recevied packets. | 320 | /// * `ep_out_buffer` - An internal buffer used to temporarily store received packets. |
| 321 | /// Must be large enough to fit all OUT endpoint max packet sizes. | 321 | /// Must be large enough to fit all OUT endpoint max packet sizes. |
| 322 | /// Endpoint allocation will fail if it is too small. | 322 | /// Endpoint allocation will fail if it is too small. |
| 323 | pub fn new_fs( | 323 | pub fn new_fs( |
| @@ -348,7 +348,7 @@ impl<'d, T: Instance> Driver<'d, T> { | |||
| 348 | /// | 348 | /// |
| 349 | /// # Arguments | 349 | /// # Arguments |
| 350 | /// | 350 | /// |
| 351 | /// * `ep_out_buffer` - An internal buffer used to temporarily store recevied packets. | 351 | /// * `ep_out_buffer` - An internal buffer used to temporarily store received packets. |
| 352 | /// Must be large enough to fit all OUT endpoint max packet sizes. | 352 | /// Must be large enough to fit all OUT endpoint max packet sizes. |
| 353 | /// Endpoint allocation will fail if it is too small. | 353 | /// Endpoint allocation will fail if it is too small. |
| 354 | pub fn new_hs_ulpi( | 354 | pub fn new_hs_ulpi( |
