mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 21:01:06 +00:00
fix: h5-only rx filter
This commit is contained in:
parent
b35b45e151
commit
c9cd46bdf5
@ -175,6 +175,7 @@ impl<'d, T: Instance> Ucpd<'d, T> {
|
||||
w.set_ucpden(true);
|
||||
});
|
||||
|
||||
#[cfg(stm32h5)]
|
||||
r.cfgr2().write(|w| {
|
||||
w.set_rxafilten(true);
|
||||
});
|
||||
@ -190,6 +191,7 @@ impl<'d, T: Instance> Ucpd<'d, T> {
|
||||
w.set_trim_cc2_rd(trim_rd_cc2 as u8);
|
||||
});
|
||||
}
|
||||
|
||||
Self {
|
||||
cc_phy: CcPhy { _lifetime: PhantomData },
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user