Formatting

This commit is contained in:
Joël Schulz-Andres 2024-05-24 14:15:10 +02:00
parent c4b3488f7f
commit e1d2ba07a7

View File

@ -109,8 +109,10 @@ macro_rules! new_pin {
// Do not call set_speed on AFType::Input, as MODE and CNF bits are not independent
// for gpio_v1
match $aftype {
crate::gpio::AFType::Input => {},
_ => {pin.set_speed($speed);},
crate::gpio::AFType::Input => {}
_ => {
pin.set_speed($speed);
}
};
Some(pin.map_into())
}};