mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
Add body to match statement
This commit is contained in:
parent
fab434ae84
commit
c4b3488f7f
@ -110,7 +110,7 @@ macro_rules! new_pin {
|
||||
// for gpio_v1
|
||||
match $aftype {
|
||||
crate::gpio::AFType::Input => {},
|
||||
_ => pin.set_speed($speed);
|
||||
_ => {pin.set_speed($speed);},
|
||||
};
|
||||
Some(pin.map_into())
|
||||
}};
|
||||
|
Loading…
Reference in New Issue
Block a user