aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-04-11 22:58:42 +0200
committerGitHub <[email protected]>2024-04-11 22:58:42 +0200
commitb74a4394dba0fe6f8816ad91182ab2d694688017 (patch)
treec84b0c10604dbc4d2f006799213503b0ab2937ce
parentf5f776f8157eca01cc4f3560807343889d8dcaef (diff)
parent98b4eb4491f285fd1008938c4116633f7646c042 (diff)
Merge pull request #2804 from borisfaure/stm32-usb-typo-in-doc
stm32: fix typo in doc
-rw-r--r--embassy-stm32/src/usb/otg.rs4
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(