mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Formatting
This commit is contained in:
parent
c4b3488f7f
commit
e1d2ba07a7
@ -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())
|
||||
}};
|
||||
|
Loading…
Reference in New Issue
Block a user