fix: docstrings

This commit is contained in:
elagil 2024-12-22 15:06:42 +01:00
parent c9cd46bdf5
commit c08411f32f

View File

@ -180,7 +180,7 @@ impl<'d, T: Instance> Ucpd<'d, T> {
w.set_rxafilten(true); w.set_rxafilten(true);
}); });
// Software trim according to RM0481, p. 2650 // Software trim according to RM0481, p. 2650/2668
#[cfg(stm32h5)] #[cfg(stm32h5)]
{ {
let trim_rd_cc1 = unsafe { *(0x4002_242C as *const u32) & 0xF }; let trim_rd_cc1 = unsafe { *(0x4002_242C as *const u32) & 0xF };
@ -295,7 +295,7 @@ impl<'d, T: Instance> CcPhy<'d, T> {
}); });
}); });
// Software trim according to RM0481, p. 2668 // Software trim according to RM0481, p. 2650/2668
#[cfg(stm32h5)] #[cfg(stm32h5)]
T::REGS.cfgr3().modify(|w| match cc_pull { T::REGS.cfgr3().modify(|w| match cc_pull {
CcPull::Source1_5A => { CcPull::Source1_5A => {