stm32: fix typo in doc

This commit is contained in:
Boris Faure 2024-04-07 17:58:17 +02:00
parent f5f776f815
commit 98b4eb4491

View File

@ -317,7 +317,7 @@ impl<'d, T: Instance> Driver<'d, T> {
///
/// # Arguments
///
/// * `ep_out_buffer` - An internal buffer used to temporarily store recevied packets.
/// * `ep_out_buffer` - An internal buffer used to temporarily store received packets.
/// Must be large enough to fit all OUT endpoint max packet sizes.
/// Endpoint allocation will fail if it is too small.
pub fn new_fs(
@ -348,7 +348,7 @@ impl<'d, T: Instance> Driver<'d, T> {
///
/// # Arguments
///
/// * `ep_out_buffer` - An internal buffer used to temporarily store recevied packets.
/// * `ep_out_buffer` - An internal buffer used to temporarily store received packets.
/// Must be large enough to fit all OUT endpoint max packet sizes.
/// Endpoint allocation will fail if it is too small.
pub fn new_hs_ulpi(