mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-29 21:31:08 +00:00
Cargo fmt recent changes
This commit is contained in:
parent
d3308f7e5a
commit
f46bfd4c6f
@ -105,7 +105,7 @@ impl<'d, T: Instance> Driver<'d, T> {
|
|||||||
config: Config,
|
config: Config,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
// For STM32U5 High speed pins need to be left in analog mode
|
// For STM32U5 High speed pins need to be left in analog mode
|
||||||
#[cfg(not(any(all(stm32u5, peri_usb_otg_hs),all(stm32wba, peri_usb_otg_hs))))]
|
#[cfg(not(any(all(stm32u5, peri_usb_otg_hs), all(stm32wba, peri_usb_otg_hs))))]
|
||||||
{
|
{
|
||||||
_dp.set_as_af(_dp.af_num(), AfType::output(OutputType::PushPull, Speed::VeryHigh));
|
_dp.set_as_af(_dp.af_num(), AfType::output(OutputType::PushPull, Speed::VeryHigh));
|
||||||
_dm.set_as_af(_dm.af_num(), AfType::output(OutputType::PushPull, Speed::VeryHigh));
|
_dm.set_as_af(_dm.af_num(), AfType::output(OutputType::PushPull, Speed::VeryHigh));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user